Skip to content

Commit

Permalink
add ...
Browse files Browse the repository at this point in the history
  • Loading branch information
chenxsan committed Oct 18, 2022
1 parent a078004 commit cf26486
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/content/api/node.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const webpack = require('webpack');

webpack({}, (err, stats) => {
if (err || stats.hasErrors()) {
//
// ...
}
// Done processing
});
Expand Down Expand Up @@ -98,7 +98,7 @@ method mentioned above:
const webpack = require('webpack');

const compiler = webpack({
//
// ...
});

compiler.run((err, stats) => {
Expand Down Expand Up @@ -126,7 +126,7 @@ watch(watchOptions, callback);
const webpack = require('webpack');

const compiler = webpack({
//
// ...
});

const watching = compiler.watch(
Expand Down Expand Up @@ -244,7 +244,7 @@ const webpack = require('webpack');

webpack(
{
//
// ...
},
(err, stats) => {
if (err) {
Expand Down Expand Up @@ -302,7 +302,7 @@ const webpack = require('webpack');

webpack(
{
//
// ...
},
(err, stats) => {
if (err) {
Expand Down

0 comments on commit cf26486

Please sign in to comment.