diff --git a/dist/index.html b/dist/index.html index d2fe274..9022567 100644 --- a/dist/index.html +++ b/dist/index.html @@ -6,7 +6,6 @@ - diff --git a/webpack.config.js b/webpack.config.js index 62523fd..c0243c9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,4 +1,5 @@ const path = require('path'); +const webpack = require("webpack"); module.exports = { entry: './src/index.js', @@ -6,7 +7,9 @@ module.exports = { filename: 'bundle.js', path: path.resolve(__dirname, 'dist/js/'), }, - externals: { - jquery: 'jQuery' - } + plugins: [ + new webpack.ProvidePlugin({ + $: "jquery", + }) + ] }; \ No newline at end of file