-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
DEVSVCS-1213: remove esmify #83
Conversation
@@ -45,12 +45,12 @@ | |||
"@typescript-eslint/eslint-plugin": "^6.7.5", | |||
"@typescript-eslint/parser": "^6.7.5", | |||
"babel-loader": "9.1.2", | |||
"babelify": "^10.0.0", | |||
"browserify": "17.0.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Browserify can be removed too.
@@ -6,7 +6,7 @@ | |||
"main": "./dist/index.js", | |||
"scripts": { | |||
"build": "rimraf dist && tsc -P tsconfig.build.json && cpy src/simulateScript/deno-sandbox/**/* dist/simulateScript/deno-sandbox && yarn build:browser", | |||
"build:browser": "webpack && browserify dist/frontendSimulateScript.bundle.js -o dist/simulateScript.browser.js -p esmify --standalone simulateScript && rm dist/frontendSimulateScript.bundle.js", | |||
"build:browser": "webpack && browserify dist/frontendSimulateScript.bundle.js -o dist/simulateScript.browser.js -t [ babelify --presets [ @babel/preset-env ] ] --standalone simulateScript && rm dist/frontendSimulateScript.bundle.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If front end (https://functions.chain.link) is the only known consumer of then I would say we can remove it completely. We are not depending on browser-based simulate script any more.
|
No description provided.