We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bad0dc0 commit bebaceeCopy full SHA for bebacee
package.config.ts
@@ -7,6 +7,12 @@ export default defineConfig({
7
import: './dist/cli.js',
8
runtime: 'node',
9
},
10
+ {
11
+ // Working around workshop.runtime.ts files importing `defineRuntime` that points to a file that has CSS imports, which nodejs doesn't support
12
+ source: './exports/index.ts',
13
+ import: './dist/index.node.js',
14
+ runtime: 'node',
15
+ },
16
],
17
extract: {
18
rules: {
package.json
@@ -27,6 +27,7 @@
27
"exports": {
28
".": {
29
"source": "./exports/index.ts",
30
+ "node": {"default": "./dist/index.node.js"},
31
"default": "./dist/index.js"
32
33
"./plugin-a11y": {
0 commit comments