diff options
author | Robert Jaros <rjaros@finn.pl> | 2018-08-22 02:29:28 +0200 |
---|---|---|
committer | Robert Jaros <rjaros@finn.pl> | 2018-08-22 02:29:28 +0200 |
commit | 1d86be75d10f3d5330776f6bab090d14dd1aa3a0 (patch) | |
tree | 0266a496486a78e50a1a0119f653680174176541 /webpack.config.d | |
parent | db000e6176e6e49a6a3f6b50ddbb8f0e5ae771a1 (diff) | |
download | kvision-1d86be75d10f3d5330776f6bab090d14dd1aa3a0.tar.gz kvision-1d86be75d10f3d5330776f6bab090d14dd1aa3a0.tar.bz2 kvision-1d86be75d10f3d5330776f6bab090d14dd1aa3a0.zip |
I18n fixes for modal components.
Diffstat (limited to 'webpack.config.d')
-rw-r--r-- | webpack.config.d/jed.js | 3 | ||||
-rw-r--r-- | webpack.config.d/jquery.js | 3 | ||||
-rw-r--r-- | webpack.config.d/minify.js | 16 |
3 files changed, 5 insertions, 17 deletions
diff --git a/webpack.config.d/jed.js b/webpack.config.d/jed.js new file mode 100644 index 00000000..a6d18464 --- /dev/null +++ b/webpack.config.d/jed.js @@ -0,0 +1,3 @@ +config.plugins.push(new webpack.ProvidePlugin({ + Jed: "jed" +})); diff --git a/webpack.config.d/jquery.js b/webpack.config.d/jquery.js index 40522595..bf5a1a20 100644 --- a/webpack.config.d/jquery.js +++ b/webpack.config.d/jquery.js @@ -1,4 +1,5 @@ config.plugins.push(new webpack.ProvidePlugin({ $: "jquery", - jQuery: "jquery" + jQuery: "jquery", + "window.jQuery": "jquery" })); diff --git a/webpack.config.d/minify.js b/webpack.config.d/minify.js deleted file mode 100644 index d85c861c..00000000 --- a/webpack.config.d/minify.js +++ /dev/null @@ -1,16 +0,0 @@ -if (defined.PRODUCTION) { - const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); - - config.optimization = { - minimizer: [ - new UglifyJSPlugin({ - uglifyOptions: { - compress: { - unused: false - } - } - }) - ] - } - -} |