Skip to content

Commit 1703ad3

Browse files
rauchgtimneutkens
authored andcommitted
remove old fly task related to eval-script.js (vercel#1997)
1 parent b005258 commit 1703ad3

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

flyfile.js

-9
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ const isWindows = /^win/.test(process.platform)
44

55
export async function compile(fly) {
66
await fly.parallel(['bin', 'server', 'lib', 'client'])
7-
await fly.start('unrestrict')
87
}
98

109
export async function bin(fly, opts) {
@@ -27,14 +26,6 @@ export async function client(fly, opts) {
2726
notify('Compiled client files')
2827
}
2928

30-
export async function unrestrict(fly) {
31-
await fly.source('dist/lib/eval-script.js').babel({
32-
babelrc: false,
33-
plugins: ['babel-plugin-transform-remove-strict-mode']
34-
}).target('dist/lib')
35-
notify('Completed removing strict mode for eval script')
36-
}
37-
3829
export async function copy(fly) {
3930
await fly.source('pages/**/*.js').target('dist/pages')
4031
}

0 commit comments

Comments
 (0)