formed.css
Advanced tools
Comparing version 0.5.0 to 0.6.0
{ | ||
"name": "formed.css", | ||
"version": "0.5.0", | ||
"version": "0.6.0", | ||
"description": "Formed solutions visual style and component-based library.", | ||
@@ -52,2 +52,3 @@ "style": "dist/css/formed.css", | ||
"jstransformer-markdown": "1.1.0", | ||
"lodash": "4.17.4", | ||
"rimraf": "^2.5.4", | ||
@@ -54,0 +55,0 @@ "webpack": "2.2.1" |
@@ -27,4 +27,3 @@ /** | ||
IS_DEVELOPMENT && | ||
reload(webpackConfig.map(config => config.output.filename)); | ||
IS_DEVELOPMENT && reload(webpackConfig.output.filename); | ||
@@ -31,0 +30,0 @@ if (!started) { |
const { join } = require('path'); | ||
const include = join(__dirname, 'src'); | ||
const COMPONENTS = `${__dirname}/src/components`; | ||
const DEFAULT_RULES = [ | ||
{ | ||
test: /\.js$/, | ||
loader: 'babel-loader', | ||
include, | ||
exclude: /node_modules/ | ||
} | ||
]; | ||
module.exports = [ | ||
{ | ||
entry: { | ||
checkbox: `${COMPONENTS}/checkbox`, | ||
editor: `${COMPONENTS}/editor`, | ||
layout: `${COMPONENTS}/layout`, | ||
radio: `${COMPONENTS}/radio` | ||
}, | ||
output: { | ||
path: join(__dirname, '.tmp', 'js'), | ||
filename: '[name].js' | ||
}, | ||
devtool: 'source-map', | ||
module: { | ||
rules: DEFAULT_RULES | ||
} | ||
module.exports = { | ||
entry: `${__dirname}/src/formed`, | ||
output: { | ||
path: join(__dirname, '.tmp', 'js'), | ||
filename: 'formed.js', | ||
library: 'formed', | ||
libraryTarget: 'umd' | ||
}, | ||
{ | ||
entry: `${__dirname}/src/formed`, | ||
output: { | ||
path: join(__dirname, '.tmp', 'js'), | ||
filename: 'formed.js', | ||
library: 'formed', | ||
libraryTarget: 'umd' | ||
}, | ||
devtool: 'source-map', | ||
module: { | ||
rules: DEFAULT_RULES | ||
} | ||
devtool: 'source-map', | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.js$/, | ||
loader: 'babel-loader', | ||
include, | ||
exclude: /node_modules/ | ||
} | ||
] | ||
} | ||
]; | ||
}; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
993083
1647
22