mirror of
https://github.com/ConnectedHumber/Air-Quality-Web
synced 2024-11-22 06:23:01 +00:00
Fix rollup warnings
This commit is contained in:
parent
39309eae9f
commit
18c4220920
1 changed files with 11 additions and 11 deletions
|
@ -14,17 +14,17 @@ import postcss_copy from 'postcss-copy';
|
||||||
|
|
||||||
let plugins = [
|
let plugins = [
|
||||||
resolve({
|
resolve({
|
||||||
|
mainFields: [
|
||||||
// use "module" field for ES6 module if possible
|
// use "module" field for ES6 module if possible
|
||||||
module: true, // Default: true
|
"module", // Check for ES6 modules
|
||||||
|
|
||||||
// use "jsnext:main" if possible
|
// use "jsnext:main" if possible
|
||||||
// – see https://github.com/rollup/rollup/wiki/jsnext:main
|
// – see https://github.com/rollup/rollup/wiki/jsnext:main
|
||||||
jsnext: true, // Default: false
|
"jsnext:main",
|
||||||
|
|
||||||
// use "main" field or index.js, even if it's not an ES6 module
|
// use "main" field or index.js, even if it's not an ES6 module
|
||||||
// (needs to be converted from CommonJS to ES6
|
// (needs to be converted from CommonJS to ES6
|
||||||
// – see https://github.com/rollup/rollup-plugin-commonjs
|
// – see https://github.com/rollup/rollup-plugin-commonjs
|
||||||
main: true, // Default: true
|
"main" // ...otherwise use the main entry point
|
||||||
|
],
|
||||||
|
|
||||||
// some package.json files have a `browser` field which
|
// some package.json files have a `browser` field which
|
||||||
// specifies alternative files to load for people bundling
|
// specifies alternative files to load for people bundling
|
||||||
|
|
Loading…
Reference in a new issue