Skip to content

Commit

Permalink
Force only jsLoader and vueLoader
Browse files Browse the repository at this point in the history
(stopgap solution for nuxt/module-builder#90)
  • Loading branch information
wd-4000 committed May 13, 2023
1 parent 391a54e commit 5568d03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/make.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export async function mkdist(

// Use only the loaders specified in options
let loaders;
if (options.loaders) {
if (options.loaders || ["jsLoader", "vueLoader"]) {
loaders = [];
for (const loaderName of options.loaders) {
loaders.push(allLoaders[loaderName]);
Expand Down

0 comments on commit 5568d03

Please sign in to comment.