"fsevents": "~2.3.1"
}
},
+ "rollup-plugin-analyzer": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/rollup-plugin-analyzer/-/rollup-plugin-analyzer-4.0.0.tgz",
+ "integrity": "sha512-LL9GEt3bkXp6Wa19SNR5MWcvHNMvuTFYg+eYBZN2OIFhSWN+pEJUQXEKu5BsOeABob3x9PDaLKW7w5iOJnsESQ==",
+ "dev": true
+ },
"rollup-plugin-copy": {
"version": "3.3.0",
"resolved": "https://registry.npmjs.org/rollup-plugin-copy/-/rollup-plugin-copy-3.3.0.tgz",
"start:bubbleprof": "cross-env NODE_ENV=production clinic bubbleprof -- node -r source-map-support/register dist/start.js",
"rollup": "rollup --config",
"build": "npm run rollup",
- "build:dev": "npm run rollup -- --watch --environment BUILD:development",
+ "build:dev": "npm run rollup -- --environment BUILD:development",
+ "build:dev:watch": "npm run rollup -- --environment BUILD:development --watch",
"build:mta": "mbt build",
"lint": "cross-env TIMING=1 eslint --ext .js,.ts src",
"lint:fix": "cross-env TIMING=1 eslint --fix --ext .js,.ts src",
"mbt": "^1.1.0",
"npm-check": "^5.9.2",
"rollup": "^2.39.0",
+ "rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-copy": "^3.3.0",
"rollup-plugin-delete": "^2.0.0",
"rollup-plugin-typescript2": "^0.29.0",
+import analyze from 'rollup-plugin-analyzer';
import copy from 'rollup-plugin-copy';
import del from 'rollup-plugin-delete';
import typescript from 'rollup-plugin-typescript2';
targets: [
{ src: 'src/assets', dest: 'dist/' }
]
- })
+ }),
+ isDevelopmentBuild && analyze()
]
};