mod-build 4.0.0-alpha.9 → 4.0.0-alpha.9b

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/vite.config.js +2 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mod-build",
3
- "version": "4.0.0-alpha.9",
3
+ "version": "4.0.0-alpha.9b",
4
4
  "description": "Share components for S3 sites.",
5
5
  "type": "module",
6
6
  "scripts": {
package/vite.config.js CHANGED
@@ -2,7 +2,7 @@ import handlebars from '@vituum/vite-plugin-handlebars'
2
2
  import vituum from 'vituum'
3
3
  import { defaultSettings } from './src/data/config.js'
4
4
  import { defineConfig } from 'vite'
5
- import { grabCdnAssets, grabFormHelperAssets, grabSharedComponentAssets, grabSharedScriptAssets, templateAssets } from './tasks/serve.js'
5
+ import { startModBuild } from './tasks/serve.js'
6
6
  import { handlebarsHelpers } from './src/scripts/utils.js'
7
7
  import gulpHandlebarsFileInclude from 'gulp-handlebars-file-include'
8
8
  import eslint from 'vite-plugin-eslint'
@@ -15,11 +15,7 @@ export default defineConfig((config = themeSettings) => ({
15
15
  emptyOutDir: false
16
16
  },
17
17
  plugins: [
18
- grabCdnAssets(config),
19
- grabSharedComponentAssets(config),
20
- grabSharedScriptAssets(config),
21
- grabFormHelperAssets(config),
22
- templateAssets(config),
18
+ startModBuild(config),
23
19
  vituum(),
24
20
  handlebars({
25
21
  data: ['src/**/*.json'],