Removing all eval warnings from rollup.
This commit is contained in:
parent
cd694cb312
commit
936762c8ee
|
@ -17,6 +17,12 @@ const config = (format, outputFile) => ({
|
||||||
format,
|
format,
|
||||||
file: outputFile,
|
file: outputFile,
|
||||||
},
|
},
|
||||||
|
onwarn(warning, warn) {
|
||||||
|
if (warning.code === "EVAL") {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
warn(warning)
|
||||||
|
},
|
||||||
plugins: [
|
plugins: [
|
||||||
typescript(),
|
typescript(),
|
||||||
resolve({
|
resolve({
|
||||||
|
|
Loading…
Reference in New Issue