From 424e23eb8c348d874f322bc3207981d7460d98d0 Mon Sep 17 00:00:00 2001 From: John Benavides Date: Sun, 6 Oct 2019 18:48:13 +0200 Subject: [PATCH] test new build --- package.json | 2 +- webpack.config.js | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 3b9648d4..005b7f54 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "build-storybook-static": "build-storybook -c .storybook -o .out", "prepare": "npm run clean:build && npm run build && npm run clean:test", "deploy-storybook": "storybook-to-ghpages", - "build": "WEBPACK_ENV=INCLUDE_CSS webpack --progress --color --mode=production && webpack --progress --color --mode=production && npm run create:lib", + "build": "webpack --progress --color --mode=production && npm run create:lib", "create:lib": "babel ./src --out-dir ./lib --copy-files --source-maps", "clean:test": "rm -rf $(find ./lib -name \"__test__\")" }, diff --git a/webpack.config.js b/webpack.config.js index a5c9e0b4..4f049aac 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -58,6 +58,7 @@ exports.default = { ignored: /node_modules/, }, optimization: { + minimize: false, splitChunks: { cacheGroups: { styles: {