fix failed to import json file in runner

This commit is contained in:
leejooy96 committed 2022-06-10 17:12:33 +09:00
1 parent 13ae6c773c
commit a6409d632a
5 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -23,5 +23,5 @@
]
}
},
"plugins": ["@vue/babel-plugin-jsx", "@babel/plugin-transform-runtime"]
"plugins": ["@vue/babel-plugin-jsx", "@babel/plugin-transform-runtime", "@babel/plugin-syntax-import-assertions"]
}
+1 -1
View File
@@ -1,5 +1,5 @@
import path from 'path'
import packageJson from '../../package.json'
import packageJson from '../../package.json' assert { type: 'json' }
import webpack from 'webpack'
import TerserPlugin from 'terser-webpack-plugin'
+1 -1
View File
@@ -1,5 +1,5 @@
import path from 'path'
import packageJson from '../../package.json'
import packageJson from '../../package.json' assert { type: 'json' }
import webpack from 'webpack'
import TerserPlugin from 'terser-webpack-plugin'
+1
View File
@@ -19,6 +19,7 @@
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-syntax-import-assertions": "^7.17.12",
"@babel/plugin-transform-runtime": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@vue/babel-plugin-jsx": "^1.1.1",
+1
View File
@@ -31,6 +31,7 @@
"devDependencies": {
"@babel/core": "^7.18.2",
"@babel/eslint-parser": "^7.18.2",
"@babel/plugin-syntax-import-assertions": "^7.17.12",
"@babel/plugin-transform-runtime": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@vue/babel-plugin-jsx": "^1.1.1",