@dword-design/base-config-nuxt 4.0.8 → 4.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -125,6 +125,11 @@ export default {
125
125
  ['pipelineOperator', { proposal: 'fsharp' }],
126
126
  ],
127
127
  },
128
+ template: {
129
+ transformAssetUrls: {
130
+ includeAbsolute: false,
131
+ },
132
+ },
128
133
  },
129
134
  },
130
135
  }
@@ -10,7 +10,13 @@ export default (async (options = {}) => {
10
10
  ...options
11
11
  };
12
12
  await lint();
13
- await execa(nuxtWrapper, ['build'], {
13
+ if (await fs.exists('model')) {
14
+ await fs.remove('dist');
15
+ await execa('babel', ['--out-dir', 'dist', '--copy-files', '--no-copy-ignored', '--ignore', '**/*.spec.js', 'model'], ...(options.log ? [{
16
+ stdio: 'inherit'
17
+ }] : []));
18
+ }
19
+ return execa(nuxtWrapper, ['build'], {
14
20
  ...(options.log ? {
15
21
  stdio: 'inherit'
16
22
  } : {}),
@@ -20,10 +26,4 @@ export default (async (options = {}) => {
20
26
  }
21
27
  } : {})
22
28
  });
23
- if (await fs.exists('model')) {
24
- await fs.remove('dist');
25
- await execa('babel', ['--out-dir', 'dist', '--copy-files', '--no-copy-ignored', '--ignore', '**/*.spec.js', 'model'], ...(options.log ? [{
26
- stdio: 'inherit'
27
- }] : []));
28
- }
29
29
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base-config-nuxt",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "repository": "dword-design/base-config-nuxt",
5
5
  "funding": "https://github.com/sponsors/dword-design",
6
6
  "license": "MIT",