mirror of
https://github.com/electron-vite/electron-vite-vue
synced 2025-01-19 20:07:06 +08:00
Merge branch 'main' of github.com:caoxiemeihao/electron-vue-vite into main
This commit is contained in:
commit
2a208be944
@ -20,9 +20,7 @@ export default (env = 'production') => {
|
|||||||
nodeResolve(),
|
nodeResolve(),
|
||||||
commonjs(),
|
commonjs(),
|
||||||
json(),
|
json(),
|
||||||
typescript({
|
typescript(),
|
||||||
module: 'ESNext',
|
|
||||||
}),
|
|
||||||
alias({
|
alias({
|
||||||
entries: [
|
entries: [
|
||||||
{ find: '@render', replacement: join(__dirname, '../src/render') },
|
{ find: '@render', replacement: join(__dirname, '../src/render') },
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"compilerOptions": {
|
"compilerOptions": {
|
||||||
"target": "ESNext",
|
"target": "ESNext",
|
||||||
"module": "CommonJS",
|
"module": "ESNext",
|
||||||
"moduleResolution": "node",
|
"moduleResolution": "node",
|
||||||
"importHelpers": true,
|
"importHelpers": true,
|
||||||
"jsx": "preserve",
|
"jsx": "preserve",
|
||||||
@ -17,5 +17,10 @@
|
|||||||
"@root/*": ["./*"]
|
"@root/*": ["./*"]
|
||||||
},
|
},
|
||||||
"allowSyntheticDefaultImports": true
|
"allowSyntheticDefaultImports": true
|
||||||
|
},
|
||||||
|
"ts-node": {
|
||||||
|
"compilerOptions": {
|
||||||
|
"module": "CommonJS"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user