Skip to content

Commit 3e56846

Browse files
committed
fix: do not externalize solid-js
1 parent 7a6cff5 commit 3e56846

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

lib/generators/app/templates/_root/rollup.config.mjs

-7
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,11 @@ export default defineConfig(
5353
external: defineExternal([
5454
'@violentmonkey/ui',
5555
'@violentmonkey/dom',
56-
'solid-js',
57-
'solid-js/web',
5856
]),
5957
output: {
6058
format: 'iife',
6159
file: `dist/${name}.user.js`,
6260
globals: {
63-
// Note:
64-
// - VM.solid is just a third-party UMD bundle for solid-js since there is no official one
65-
// - If you don't want to use it, just remove `solid-js` related packages from `external`, `globals` and the `meta.js` file.
66-
'solid-js': 'VM.solid',
67-
'solid-js/web': 'VM.solid.web',
6861
'@violentmonkey/dom': 'VM',
6962
'@violentmonkey/ui': 'VM',
7063
},

lib/generators/app/templates/src/awesome-script/meta.js

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
// @author process.env.AUTHOR
99
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@2
1010
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/[email protected]
11-
// @require https://cdn.jsdelivr.net/npm/@violentmonkey/dom@2/dist/solid.min.js
1211
// ==/UserScript==
1312

1413
/**

0 commit comments

Comments
 (0)