v0.3: Extension #3

Merged
niklas merged 16 commits from develop into master 2020-04-25 20:38:57 +00:00
3 changed files with 19 additions and 1 deletions
Showing only changes of commit a5d72902e1 - Show all commits

14
.vscode/tasks.json vendored
View File

@ -15,6 +15,20 @@
"group": "none", "group": "none",
"problemMatcher": [] "problemMatcher": []
}, },
{
"label": "watch",
"command": "npm",
"type": "shell",
"args": [
"run",
"watch"
],
"presentation": {
"reveal": "always"
},
"group": "none",
"problemMatcher": []
},
{ {
"label": "Build prod", "label": "Build prod",
"command": "npm", "command": "npm",

View File

@ -6,7 +6,8 @@
"scripts": { "scripts": {
"devServer": "webpack-dev-server --mode development --open", "devServer": "webpack-dev-server --mode development --open",
"build": "webpack --mode development", "build": "webpack --mode development",
"buildProd": "webpack --mode production" "buildProd": "webpack --mode production",
"watch":"webpack --watch --mode production"
}, },
"author": "", "author": "",
"license": "ISC", "license": "ISC",

View File

@ -27,6 +27,9 @@ module.exports = {
liveReload: true, liveReload: true,
watchContentBase: true watchContentBase: true
}, },
watchOptions: {
ignored: ['dist/**', 'node_modules/**']
},
module: { module: {
rules: [ rules: [
{ {