From 648b07b56f123ad1e944b388165407246fba2467 Mon Sep 17 00:00:00 2001 From: lxieyang Date: Sun, 29 Mar 2020 23:02:19 -0400 Subject: [PATCH] fix reload bug --- package-lock.json | 2 +- package.json | 2 +- src/pages/Content/index.js | 2 +- webpack.config.js | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 8e46e40c1..d775a2ee9 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "chrome-extension-boilerplate-react", - "version": "2.4.1", + "version": "2.4.2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 3cc19d9a3..7293f2797 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "chrome-extension-boilerplate-react", - "version": "2.4.1", + "version": "2.4.2", "description": "A chrome extension boilerplate built with React 16 and Webpack 4", "license": "MIT", "repository": { diff --git a/src/pages/Content/index.js b/src/pages/Content/index.js index 12a65d913..d9e44cee1 100644 --- a/src/pages/Content/index.js +++ b/src/pages/Content/index.js @@ -3,4 +3,4 @@ import { printLine } from './modules/print'; console.log('Content script works!'); console.log('Must reload extension for modifications to take effect.'); -printLine('Using a function from the Print Module'); +printLine("Using the 'printLine' function from the Print Module"); diff --git a/webpack.config.js b/webpack.config.js index 0a4c5974e..e47107aa8 100755 --- a/webpack.config.js +++ b/webpack.config.js @@ -82,7 +82,7 @@ var options = { // clean the build folder new CleanWebpackPlugin({ verbose: true, - // cleanStaleWebpackAssets: false, + cleanStaleWebpackAssets: false, }), // expose and write the allowed env vars on the compiled bundle new webpack.EnvironmentPlugin(['NODE_ENV']),