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
1f39d41b
Unverified
Commit
1f39d41b
authored
Apr 28, 2019
by
JJ Kasper
Committed by
GitHub
Apr 28, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix missing webpack buildin (#7187)
parent
c826048a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
1 deletion
+11
-1
taskfile.js
packages/next/taskfile.js
+11
-1
No files found.
packages/next/taskfile.js
View file @
1f39d41b
...
@@ -67,6 +67,16 @@ export async function ncc_webpack_module (task, opts) {
...
@@ -67,6 +67,16 @@ export async function ncc_webpack_module (task, opts) {
notify
(
'Compiled webpack/buildin/module'
)
notify
(
'Compiled webpack/buildin/module'
)
}
}
// eslint-disable-next-line camelcase
export
async
function
ncc_webpack_harmony_module
(
task
,
opts
)
{
await
task
.
source
(
opts
.
src
||
relative
(
__dirname
,
require
.
resolve
(
'webpack/buildin/harmony-module'
)))
.
ncc
()
.
target
(
'dist/compiled/webpack/buildin'
)
notify
(
'Compiled webpack/buildin/harmony-module'
)
}
// eslint-disable-next-line camelcase
// eslint-disable-next-line camelcase
export
async
function
ncc_webpack_graph_helpers
(
task
,
opts
)
{
export
async
function
ncc_webpack_graph_helpers
(
task
,
opts
)
{
await
task
await
task
...
@@ -157,7 +167,7 @@ export async function ncc_text_table (task, opts) {
...
@@ -157,7 +167,7 @@ export async function ncc_text_table (task, opts) {
}
}
export
async
function
precompile
(
task
)
{
export
async
function
precompile
(
task
)
{
await
task
.
parallel
([
'ncc_webpack'
,
'ncc_webpack_module'
,
'ncc_webpack_graph_helpers'
,
'ncc_webpack_hot_middleware'
,
'ncc_autodll_webpack_plugin'
,
'ncc_webpack_dev_middleware'
,
'ncc_unistore'
,
'ncc_resolve'
,
'ncc_arg'
,
'ncc_nanoid'
,
'ncc_text_table'
])
await
task
.
parallel
([
'ncc_webpack'
,
'ncc_webpack_module'
,
'ncc_webpack_
harmony_module'
,
'ncc_webpack_
graph_helpers'
,
'ncc_webpack_hot_middleware'
,
'ncc_autodll_webpack_plugin'
,
'ncc_webpack_dev_middleware'
,
'ncc_unistore'
,
'ncc_resolve'
,
'ncc_arg'
,
'ncc_nanoid'
,
'ncc_text_table'
])
}
}
export
async
function
compile
(
task
)
{
export
async
function
compile
(
task
)
{
...
...
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