Browse Source

Merge 1d4e8abe67 into 41d3ba4312

pull/2193/merge
Hecatron 1 month ago
committed by GitHub
parent
commit
af82fc4b6a
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
4 changed files with 39 additions and 12 deletions
  1. 6
      .babelrc
  2. 3
      .vscode/extensions.json
  3. 41
      .vscode/launch.json
  4. 1
      dev/webpack/webpack.dev.js

6
.babelrc

@ -1,5 +1,11 @@
{
"comments": true,
"env": {
"development": {
"sourceMaps": true,
"retainLines": true
}
},
"plugins": [
"lodash",
"graphql-tag",

3
.vscode/extensions.json

@ -4,6 +4,7 @@
"dbaeumer.vscode-eslint",
"christian-kohler.path-intellisense",
"mrmlnc.vscode-puglint",
"octref.vetur"
"octref.vetur",
"firefox-devtools.vscode-firefox-debug"
]
}

41
.vscode/launch.json

@ -3,19 +3,19 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"compounds": [
{
"name": "Server / Client Debug",
"configurations": ["Launch Program", "Launch Firefox Client Debug"]
}
],
"configurations": [
{
"type": "node",
"request": "attach",
"name": "Attach (Inspector Protocol)",
"port": 9229,
"protocol": "inspector"
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}\\server.js"
"request": "attach",
"name": "Attach (Inspector Protocol)",
"port": 9229,
"protocol": "inspector"
},
{
"type": "node",
@ -23,6 +23,25 @@
"name": "Attach to Port",
"address": "localhost",
"port": 9222
}
},
{
"type": "node",
"request": "launch",
"name": "Launch Program",
"program": "${workspaceRoot}\\server\\index.js"
},
{
"name": "Launch Firefox Client Debug",
"type": "firefox",
"request": "launch",
"url": "http://localhost:3000/",
"webRoot": "${workspaceRoot}",
"pathMappings": [
{
"url": "webpack:///client",
"path": "${workspaceRoot}/client"
}
]
},
]
}

1
dev/webpack/webpack.dev.js

@ -23,6 +23,7 @@ fs.emptyDirSync(path.join(process.cwd(), 'assets'))
module.exports = {
mode: 'development',
devtool: 'source-map',
entry: {
app: ['./client/index-app.js', 'webpack-hot-middleware/client'],
legacy: ['./client/index-legacy.js', 'webpack-hot-middleware/client'],

Loading…
Cancel
Save