Skip to content

Commit e914b32

Browse files
committed
Update webpack.config.babel.js
1 parent 8b352a6 commit e914b32

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

webpack.config.babel.js

-25
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import path from 'path';
22

33
export default {
4-
cache: true,
5-
target: 'web',
64
entry: path.resolve(__dirname, 'lib/index.js'),
75
output: {
86
path: path.join(__dirname, 'dist'),
@@ -29,28 +27,5 @@ export default {
2927
commonjs: 'sortablejs',
3028
amd: 'sortablejs'
3129
}
32-
},
33-
module: {
34-
preLoaders: [
35-
{
36-
test: /\.jsx?$/,
37-
loaders: ['eslint'],
38-
exclude: /node_modules/
39-
}
40-
],
41-
loaders: [
42-
{
43-
test: /\.jsx?$/,
44-
loader: 'babel',
45-
exclude: /(node_modules|bower_components)/,
46-
query: {
47-
presets: ['es2015', 'stage-0', 'react'],
48-
plugins: []
49-
}
50-
}
51-
]
52-
},
53-
resolve: {
54-
extensions: ['', '.js', '.jsx']
5530
}
5631
};

0 commit comments

Comments
 (0)