diff options
author | Max Wu | 2017-01-21 14:31:41 +0800 |
---|---|---|
committer | GitHub | 2017-01-21 14:31:41 +0800 |
commit | 6dfc186691df7b5c63af2ee5eb28cd1e1919050c (patch) | |
tree | 58c36e54788224c8ee4ee803a6a3b2c1dbd7b8b2 /webpackBaseConfig.js | |
parent | fc00fa74341a43b2f99b085aa52fee57f40082ff (diff) | |
parent | 0e479111e55354434b5100ae165627f5fabe06b5 (diff) |
Merge pull request #326 from hackmdio/es6-integration
ES6 integration
Diffstat (limited to 'webpackBaseConfig.js')
-rw-r--r-- | webpackBaseConfig.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/webpackBaseConfig.js b/webpackBaseConfig.js index 496afce4..210001b1 100644 --- a/webpackBaseConfig.js +++ b/webpackBaseConfig.js @@ -373,6 +373,10 @@ module.exports = { test: /\.json$/, loader: 'json-loader' }, { + test: /\.js$/, + loader: 'babel', + exclude: [/node_modules/, /public\/vendor/] + }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') }, { |