Andrey Kobyshev 5 years ago committed by James Curtin
parent d714bd3e25
commit 510934cd58
  1. 2
      {{cookiecutter.app_name}}/webpack.config.js

@ -39,7 +39,7 @@ module.exports = {
resolve: { resolve: {
extensions: [".js", ".jsx", ".css"] extensions: [".js", ".jsx", ".css"]
}, },
devtool: debug ? "eval-source-map" : null, devtool: debug ? "eval-source-map" : false,
plugins: [ plugins: [
new MiniCssExtractPlugin({ filename: "[name].bundle.css" }), new MiniCssExtractPlugin({ filename: "[name].bundle.css" }),
new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" }) new webpack.ProvidePlugin({ $: "jquery", jQuery: "jquery" })

Loading…
Cancel
Save