@newlogic-digital/core 2.0.0-alpha.4 → 2.0.0-alpha.5
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +6 -1
- package/package.json +1 -1
package/index.js
CHANGED
@@ -68,7 +68,9 @@ const defaultOptions = {
|
|
68
68
|
dir: './src/views'
|
69
69
|
}
|
70
70
|
},
|
71
|
-
posthtml: {
|
71
|
+
posthtml: {
|
72
|
+
root: resolve(process.cwd(), 'src')
|
73
|
+
},
|
72
74
|
juice: {
|
73
75
|
paths: ['src/views/email']
|
74
76
|
},
|
@@ -128,9 +130,12 @@ const plugin = (options = {}) => {
|
|
128
130
|
manifest: true,
|
129
131
|
emptyOutDir: false,
|
130
132
|
modulePreload: false,
|
133
|
+
assetsInlineLimit: 0,
|
131
134
|
outDir: resolve(userConfig.root ?? process.cwd(), 'public'),
|
132
135
|
rollupOptions: {
|
133
136
|
input: [
|
137
|
+
'./src/styles/*.{css,pcss,scss,sass,less,styl,stylus}',
|
138
|
+
'./src/scripts/*.{js,ts,mjs}',
|
134
139
|
'./src/views/**/*.{json,latte,twig,liquid,njk,hbs,pug,html}',
|
135
140
|
'!./src/views/**/*.{latte,twig,liquid,njk,hbs,pug,html}.json'
|
136
141
|
]
|
package/package.json
CHANGED