@newlogic-digital/core 1.0.8 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/index.js +2 -2
- package/package.json +1 -1
package/index.js
CHANGED
@@ -27,7 +27,7 @@ const posthtmlPrism = {
|
|
27
27
|
transform: async(html, { filename }) => {
|
28
28
|
filename = filename.replace('?raw', '')
|
29
29
|
|
30
|
-
if (!filename.endsWith('ui.json')) {
|
30
|
+
if (!filename.endsWith('ui.json') && !filename.endsWith('ui.vituum.json.html')) {
|
31
31
|
return
|
32
32
|
}
|
33
33
|
|
@@ -273,7 +273,7 @@ const integration = (userConfig = {}) => {
|
|
273
273
|
})
|
274
274
|
|
275
275
|
await Promise.all(emails.map((file, i) =>
|
276
|
-
fse.move(file, emailsProd[i])
|
276
|
+
fse.move(file, emailsProd[i], { overwrite: true })
|
277
277
|
))
|
278
278
|
|
279
279
|
console.info(`${chalk.cyan(`newlogic-core`)} ${chalk.green('all email files moved')}`)
|
package/package.json
CHANGED