-
Notifications
You must be signed in to change notification settings - Fork 91
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
/node_modules/ | ||
/.idea/ | ||
*.DS_Store | ||
/temp/ |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,13 @@ | ||
const webpack_config = require('./webpack.config') | ||
const path = require('path') | ||
|
||
module.exports = Object.assign({}, webpack_config, { | ||
mode: 'production', | ||
devtool: 'hidden-source-map', | ||
output: { | ||
path: path.resolve(__dirname, '../build'), | ||
filename: 'index.js', | ||
library: 'CssSelectorGenerator', | ||
libraryTarget: 'umd', | ||
}, | ||
}) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
const path = require('path') | ||
const webpack_config = require('./webpack.config') | ||
|
||
module.exports = Object.assign({}, webpack_config, { | ||
mode: 'development', | ||
devtool: 'inline-source-map', | ||
entry: {} | ||
entry: {}, | ||
output: { | ||
filename: '[name].js', | ||
path: path.resolve(__dirname, '../temp'), | ||
} | ||
}) |