diff options
author | Yukai Huang | 2016-10-10 08:25:35 +0800 |
---|---|---|
committer | Yukai Huang | 2016-10-10 08:25:35 +0800 |
commit | 082178d535fd15a49d7157268c62f297af5a27ff (patch) | |
tree | b2789ccc80cde81ad3bf29700681ca2ffe95dbd7 /webpack.config.js | |
parent | e10203b7e9bb407fceee1f176dc8ff36b59a4acd (diff) |
Slide mode is now working
Diffstat (limited to '')
-rw-r--r-- | webpack.config.js | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/webpack.config.js b/webpack.config.js index ee2abc73..17e05226 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -26,7 +26,8 @@ module.exports = { entry: { index: path.join(__dirname, 'public/js/index.js'), - public: path.join(__dirname, 'public/js/public.js') + public: path.join(__dirname, 'public/js/public.js'), + slide: path.join(__dirname, 'public/js/slide.js') }, output: { @@ -52,10 +53,13 @@ module.exports = { }, { test: /\.css$/, loader: ExtractTextPlugin.extract('style-loader', 'css-loader') - }, , { + }, { test: /\.scss$/, loader: ExtractTextPlugin.extract('style-loader', 'sass-loader') }, { + test: /\.less$/, + loader: ExtractTextPlugin.extract('style-loader', 'less-loader') + }, { test: require.resolve("js-sequence-diagrams"), loader: "imports?Raphael=raphael" }, { |