From d6e6c4ad4058faa83dca0f02c566fa5aae224526 Mon Sep 17 00:00:00 2001 From: Tamius Han Date: Sun, 15 Mar 2020 20:28:38 +0100 Subject: [PATCH] Don't include some files in final package --- webpack.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index fc5dcdc..881a7fc 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -75,12 +75,12 @@ const config = { filename: '[name].css', }), new CopyWebpackPlugin([ - { from: 'res', to: 'res'}, + { from: 'res', to: 'res', ignore: ['css', 'css/**']}, { from: 'ext', to: 'ext', ignore: ['conf/*', 'lib/**']}, { from: 'icons', to: 'icons', ignore: ['icon.xcf'] }, { from: 'popup/popup.html', to: 'popup/popup.html', transform: transformHtml }, { from: 'options/options.html', to: 'options/options.html', transform: transformHtml }, - { from: 'install/first-time/first-time.html', to: 'install/first-time/first-time.html', transform: transformHtml}, + // { from: 'install/first-time/first-time.html', to: 'install/first-time/first-time.html', transform: transformHtml}, { from: 'manifest.json', to: 'manifest.json',