Merge pull request #1 from jooy2/json-import-fix

fix failed to import json file in runner
This commit is contained in:
Jooy authored and GitHub committed 2022-06-10 17:13:20 +09:00
commit 95246fc291
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 path from 'path'
import packageJson from '../../package.json' import packageJson from '../../package.json' assert { type: 'json' }
import webpack from 'webpack' import webpack from 'webpack'
import TerserPlugin from 'terser-webpack-plugin' import TerserPlugin from 'terser-webpack-plugin'
+1 -1
View File
@@ -1,5 +1,5 @@
import path from 'path' import path from 'path'
import packageJson from '../../package.json' import packageJson from '../../package.json' assert { type: 'json' }
import webpack from 'webpack' import webpack from 'webpack'
import TerserPlugin from 'terser-webpack-plugin' import TerserPlugin from 'terser-webpack-plugin'
+1
View File
@@ -19,6 +19,7 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.18.2", "@babel/core": "^7.18.2",
"@babel/eslint-parser": "^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/plugin-transform-runtime": "^7.18.2",
"@babel/preset-env": "^7.18.2", "@babel/preset-env": "^7.18.2",
"@vue/babel-plugin-jsx": "^1.1.1", "@vue/babel-plugin-jsx": "^1.1.1",
+1
View File
@@ -31,6 +31,7 @@
"devDependencies": { "devDependencies": {
"@babel/core": "^7.18.2", "@babel/core": "^7.18.2",
"@babel/eslint-parser": "^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/plugin-transform-runtime": "^7.18.2",
"@babel/preset-env": "^7.18.2", "@babel/preset-env": "^7.18.2",
"@vue/babel-plugin-jsx": "^1.1.1", "@vue/babel-plugin-jsx": "^1.1.1",