Browse Source

Removing rollup replacement.

pull/1067/head
mike12345567 5 years ago
parent
commit
430913ebbe
  1. 860
      packages/builder/yarn.lock
  2. 1644
      packages/client/yarn.lock
  3. 1
      packages/string-templates/package.json
  4. 13
      packages/string-templates/rollup.config.js

860
packages/builder/yarn.lock

File diff suppressed because it is too large

1644
packages/client/yarn.lock

File diff suppressed because it is too large

1
packages/string-templates/package.json

@ -22,7 +22,6 @@
"devDependencies": {
"@rollup/plugin-commonjs": "^17.1.0",
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-replace": "^2.3.4",
"doctrine": "^3.0.0",
"jest": "^26.6.3",
"rollup": "^2.36.2",

13
packages/string-templates/rollup.config.js

@ -3,7 +3,6 @@ import resolve from "rollup-plugin-node-resolve"
import builtins from "rollup-plugin-node-builtins"
import globals from "rollup-plugin-node-globals"
import json from "@rollup/plugin-json"
import replace from "@rollup/plugin-replace"
import { terser } from "rollup-plugin-terser"
const production = !process.env.ROLLUP_WATCH
@ -19,18 +18,6 @@ export default {
},
],
plugins: [
// this replacement is a crazy hack to fix an issue that
// rollup has with the handlebars-helper package
// if we don't do this then the browser will always error
// with the isNumber function being unavailable
replace({
include: [
"node_modules/handlebars-helpers/lib/**",
"node_modules/handlebar-utils/lib/**",
],
"utils.isNumber(": "!isNaN(",
"isNumber(": "!isNaN(",
}),
resolve({
mainFields: ["module", "main"],
preferBuiltins: true,

Loading…
Cancel
Save