coralite-scripts 0.28.4 → 0.28.6
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/bin/index.js +1 -0
- package/dist/libs/config.d.ts +3 -0
- package/dist/libs/config.d.ts.map +1 -1
- package/libs/config.js +0 -3
- package/libs/server.js +1 -0
- package/package.json +2 -2
package/bin/index.js
CHANGED
package/dist/libs/config.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../libs/config.js"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"config.d.ts","sourceRoot":"","sources":["../../libs/config.js"],"names":[],"mappings":"AAAA;;GAEG;AAEH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,sCAzBW,oBAAoB,GAClB,oBAAoB,CA6HhC;0CAvIsC,mBAAmB"}
|
package/libs/config.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @import {CoraliteScriptConfig} from '../types/index.js'
|
|
3
3
|
*/
|
|
4
|
-
import { staticAssetPlugin } from 'coralite/plugins'
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* Defines the Coralite configuration for the project.
|
|
@@ -132,8 +131,6 @@ export function defineConfig (options) {
|
|
|
132
131
|
if (!Array.isArray(options.assets)) {
|
|
133
132
|
throw new Error('Configuration "assets" must be an array')
|
|
134
133
|
}
|
|
135
|
-
options.plugins = options.plugins || []
|
|
136
|
-
options.plugins.push(staticAssetPlugin(options.assets))
|
|
137
134
|
}
|
|
138
135
|
|
|
139
136
|
return options
|
package/libs/server.js
CHANGED
|
@@ -37,6 +37,7 @@ async function server (config, options) {
|
|
|
37
37
|
components: config.components,
|
|
38
38
|
pages: config.pages,
|
|
39
39
|
plugins: config.plugins,
|
|
40
|
+
assets: config.assets,
|
|
40
41
|
ignoreByAttribute: config.ignoreByAttribute,
|
|
41
42
|
skipRenderByAttribute: config.skipRenderByAttribute,
|
|
42
43
|
mode: 'development',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coralite-scripts",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.6",
|
|
4
4
|
"description": "Configuration and scripts for Create Coralite.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
"portfinder": "^1.0.38",
|
|
59
59
|
"postcss": "^8.5.6",
|
|
60
60
|
"sass": "^1.91.0",
|
|
61
|
-
"coralite": "0.28.
|
|
61
|
+
"coralite": "0.28.4"
|
|
62
62
|
},
|
|
63
63
|
"scripts": {
|
|
64
64
|
"build": "premove dist && pnpm build-types",
|