Skip to content

Commit f576e3f

Browse files
committed
build: use compiled module in playground for real-world testing
- Switch from '../src/module' to '../dist/module.mjs' - Ensures playground tests the actual built module users would receive - Helps catch build-time issues early (as we discovered previously) - Aligns with best practices used by major Nuxt modules Authored by: Aaron Lippold<lippold@gmail.com>
1 parent df68f1c commit f576e3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

playground/nuxt.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export default defineNuxtConfig({
2-
modules: ['../src/module'],
2+
modules: ['../dist/module.mjs'],
33
devtools: { enabled: true },
44
smartscript: {
55
// Module is enabled by default

0 commit comments

Comments
 (0)