@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.
Files changed (2) hide show
  1. package/index.js +6 -1
  2. 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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@newlogic-digital/core",
3
3
  "type": "module",
4
- "version": "2.0.0-alpha.4",
4
+ "version": "2.0.0-alpha.5",
5
5
  "main": "index.js",
6
6
  "author": "New Logic Studio s.r.o.",
7
7
  "description": "Set of tools that can be used to create modern web applications",