Skip to content

Commit

Permalink
chore: fix build site script
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Oct 13, 2024
1 parent 3119299 commit ed0caa1
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 9 deletions.
13 changes: 12 additions & 1 deletion explorer-v2/build-system/pre-build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,8 +87,19 @@ export default [
},
{
...base,
externals: {
'node:process': '$$inject_process$$'
},
entry: {
'svelte/compiler': resolve('../../node_modules/svelte/src/compiler/index.js')
}
},
plugins: [
new WrapperPlugin({
test: /svelte\/compiler\.js/,
header: `
const $$inject_process$$ = undefined;
`
})
]
}
];
16 changes: 8 additions & 8 deletions explorer-v2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,25 +14,25 @@
"dependencies": {
"@fontsource/fira-mono": "^5.1.0",
"@typescript-eslint/parser": "^7.18.0",
"eslint": "^8.57.0",
"eslint": "^8.57.1",
"eslint-scope": "^7.2.2",
"esquery": "^1.6.0",
"pako": "^2.1.0",
"svelte": "^5.0.0-next.245",
"svelte": "^5.0.0-next.264",
"svelte-eslint-parser": "link:..",
"tslib": "^2.7.0"
},
"devDependencies": {
"@sveltejs/adapter-static": "^3.0.4",
"@sveltejs/kit": "^2.5.26",
"@sveltejs/adapter-static": "^3.0.5",
"@sveltejs/kit": "^2.7.0",
"@sveltejs/vite-plugin-svelte": "^3.1.2",
"monaco-editor": "^0.51.0",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"prettier-plugin-svelte": "^3.2.7",
"string-replace-loader": "^3.1.0",
"typescript": "^5.6.2",
"vite": "^5.4.4",
"webpack": "^5.94.0",
"typescript": "^5.6.3",
"vite": "^5.4.8",
"webpack": "^5.95.0",
"webpack-cli": "^5.1.4",
"wrapper-webpack-plugin": "^2.2.2"
}
Expand Down

0 comments on commit ed0caa1

Please sign in to comment.