Format code

Signed-off-by: Harry Chen <i@harrychen.xyz>
This commit is contained in:
Harry Chen 2024-04-16 00:45:11 +08:00 committed by Miao Wang
parent a6abff588d
commit c147d43a86

View File

@ -95,7 +95,7 @@ export default defineConfig(({ mode }) => ({
};
})(),
typescript({
tsconfig: path.join('_src', "tsconfig.json"),
tsconfig: path.join("_src", "tsconfig.json"),
}),
vue({
template: {
@ -185,12 +185,8 @@ export default defineConfig(({ mode }) => ({
tsconfig: path.join(root, "tsconfig.json"),
}),
getBabelOutputPlugin({
presets: [
"babel-preset-njs",
],
plugins: [
"./_src/babel-njs/index.mjs",
],
presets: ["babel-preset-njs"],
plugins: ["./_src/babel-njs/index.mjs"],
configFile: false,
}),
],
@ -276,9 +272,7 @@ export default defineConfig(({ mode }) => ({
corejs: undefined,
shippedProposals: true,
ignoreBrowserslistConfig: true,
exclude: [
"@babel/plugin-transform-typeof-symbol",
],
exclude: ["@babel/plugin-transform-typeof-symbol"],
},
],
],