Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
1703ad30
Commit
1703ad30
authored
May 17, 2017
by
Guillermo Rauch
Committed by
Tim Neutkens
May 17, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove old fly task related to `eval-script.js` (#1997)
parent
b0052589
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
flyfile.js
flyfile.js
+0
-9
No files found.
flyfile.js
View file @
1703ad30
...
@@ -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'
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment