Skip to content

Commit

Permalink
fix reload bug
Browse files Browse the repository at this point in the history
  • Loading branch information
lxieyang committed Mar 30, 2020
1 parent 257a201 commit 648b07b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/Content/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']),
Expand Down

0 comments on commit 648b07b

Please sign in to comment.