File tree Expand file tree Collapse file tree 4 files changed +6
-38
lines changed
Expand file tree Collapse file tree 4 files changed +6
-38
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11module . exports = {
22 'env' : {
3- 'browser' : false ,
43 'es6' : true ,
5- 'node' : true ,
6- 'jasmine' : true ,
4+ 'node' : true
75 } ,
86 'plugins' : [
97 'import'
@@ -13,10 +11,9 @@ module.exports = {
1311 'plugin:import/errors' ,
1412 'plugin:import/warnings'
1513 ] ,
16- 'parser' : '@babel/eslint-parser' ,
1714 'parserOptions' : {
18- 'ecmaVersion ' : 6 ,
19- 'sourceType ' : 'module'
15+ 'sourceType ' : 'module' ,
16+ 'ecmaVersion ' : 13
2017 } ,
2118 'settings' : {
2219 'import/core-modules' : [
Original file line number Diff line number Diff line change 891891 "platformio-vscode-debug" : " ~1.4.1"
892892 },
893893 "devDependencies" : {
894- "@babel/core" : " ~7.21.3" ,
895- "@babel/eslint-parser" : " ~7.21.3" ,
896- "@babel/plugin-proposal-class-properties" : " ~7.18.6" ,
897- "@babel/preset-env" : " ~7.20.2" ,
898894 "@types/node" : " ~14" ,
899895 "@types/vscode" : " ~1.65.0" ,
900896 "@vscode/vsce" : " ~2.18.0" ,
901- "babel-loader" : " ~9.1.2" ,
902897 "eslint" : " ~8.36.0" ,
903898 "eslint-import-resolver-webpack" : " ~0.13.2" ,
904899 "eslint-plugin-import" : " ~2.27.5" ,
Original file line number Diff line number Diff line change @@ -18,21 +18,12 @@ module.exports = {
1818 entry : __dirname + '/src/main.js' ,
1919 output : {
2020 path : path . resolve ( __dirname , 'dist' ) ,
21- filename : 'extension.js ' ,
22- libraryTarget : 'commonjs2'
21+ libraryTarget : 'umd ' ,
22+ umdNamedDefine : true
2323 } ,
2424 devtool : 'source-map' ,
2525 target : 'node' ,
26- externals : externals ,
27- module : {
28- rules : [
29- {
30- test : / \. j s $ / ,
31- loader : 'babel-loader' ,
32- exclude : / n o d e _ m o d u l e s /
33- }
34- ]
35- } ,
26+ externals : externals ,
3627 resolve : {
3728 modules : [ path . resolve ( './node_modules' ) , path . resolve ( './src' ) ] ,
3829 extensions : [ '.js' ]
You can’t perform that action at this time.
0 commit comments