Skip to content

Commit

Permalink
Do not work as this. Looks related to swc-project/swc#2574
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Jan 16, 2023
1 parent 4b2b5da commit 19bd4b2
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"editor.defaultFormatter": "dprint.dprint",
"editor.formatOnSave": true,
"cSpell.words": [
"dprint"
"dprint",
"spack"
]
}
11 changes: 11 additions & 0 deletions spack.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const { config } = require('@swc/core/spack');

module.exports = config({
entry: {
web: __dirname + '/src/main.ts',
},
output: {
path: __dirname + '/dist',
},
});

0 comments on commit 19bd4b2

Please sign in to comment.