mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-26 16:26:44 +03:00
Removed abandoned vulnerable rollup-plugin-html
This commit is contained in:
parent
1a19d25fdb
commit
637ec00d8f
5 changed files with 60 additions and 160 deletions
|
|
@ -2,14 +2,13 @@
|
|||
const rollup2 = require('gulp-rollup-2');
|
||||
const includePaths = require('rollup-plugin-includepaths');
|
||||
const externalGlobals = require('rollup-plugin-external-globals');
|
||||
const html = require('rollup-plugin-html');
|
||||
const { config } = require('./config');
|
||||
|
||||
let includePathOptions = {
|
||||
include: {},
|
||||
paths: ['dev'],
|
||||
external: [],
|
||||
extensions: ['.js', '.html']
|
||||
extensions: ['.js']
|
||||
};
|
||||
|
||||
exports.rollupJS = (inputFile) =>
|
||||
|
|
@ -23,9 +22,6 @@ exports.rollupJS = (inputFile) =>
|
|||
includePaths(includePathOptions),
|
||||
externalGlobals({
|
||||
ko: 'ko'
|
||||
}),
|
||||
html({
|
||||
include: '**/*.html'
|
||||
})
|
||||
]
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue