Commit 1703ad30 authored by Guillermo Rauch's avatar Guillermo Rauch Committed by Tim Neutkens

remove old fly task related to `eval-script.js` (#1997)

parent b0052589
...@@ -4,7 +4,6 @@ const isWindows = /^win/.test(process.platform) ...@@ -4,7 +4,6 @@ const isWindows = /^win/.test(process.platform)
export async function compile(fly) { export async function compile(fly) {
await fly.parallel(['bin', 'server', 'lib', 'client']) await fly.parallel(['bin', 'server', 'lib', 'client'])
await fly.start('unrestrict')
} }
export async function bin(fly, opts) { export async function bin(fly, opts) {
...@@ -27,14 +26,6 @@ export async function client(fly, opts) { ...@@ -27,14 +26,6 @@ export async function client(fly, opts) {
notify('Compiled client files') notify('Compiled client files')
} }
export async function unrestrict(fly) {
await fly.source('dist/lib/eval-script.js').babel({
babelrc: false,
plugins: ['babel-plugin-transform-remove-strict-mode']
}).target('dist/lib')
notify('Completed removing strict mode for eval script')
}
export async function copy(fly) { export async function copy(fly) {
await fly.source('pages/**/*.js').target('dist/pages') await fly.source('pages/**/*.js').target('dist/pages')
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment