new structure; code polish
This commit is contained in:
@@ -4,17 +4,14 @@ module.exports = {
|
||||
|
||||
output: {
|
||||
path: __dirname + "/build",
|
||||
filename: "crawler.js",
|
||||
devtool: 'source-map'
|
||||
filename: "crawler.js"
|
||||
},
|
||||
module: {
|
||||
|
||||
loaders: [{
|
||||
test: /.js?$/,
|
||||
loader: 'babel-loader',
|
||||
exclude: /node_modules/,
|
||||
presets: ['es2015'],
|
||||
plugins: ['transform-async-to-generator']
|
||||
exclude: /node_modules/
|
||||
}, {
|
||||
test: /.json?$/,
|
||||
loader: 'json-loader',
|
||||
|
||||
Reference in New Issue
Block a user