-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- add onBeforeBuild and onBuildExit - add logging, swallowError, dev
- Loading branch information
Showing
18 changed files
with
5,751 additions
and
8,460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,5 @@ | ||
{ | ||
"presets": [ | ||
[ | ||
"env", | ||
{ | ||
"modules": false | ||
} | ||
] | ||
], | ||
"plugins": [ | ||
"external-helpers" | ||
"@babel/preset-env" | ||
] | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/** | ||
* @class WebpackShellPluginNext | ||
* @extends Object | ||
* Run shell commands before and after webpack builds | ||
*/ | ||
import { Options } from './types'; | ||
import * as webpack from 'webpack'; | ||
export default class WebpackShellPlugin { | ||
private options; | ||
constructor(options: Options); | ||
private putsAsync; | ||
private puts; | ||
private spreadStdoutAndStdErr; | ||
private serializeScript; | ||
private handleScript; | ||
private handleScriptAsync; | ||
private executeScripts; | ||
private validateInput; | ||
private mergeOptions; | ||
apply(compiler: webpack.Compiler): void; | ||
private readonly onInvalid; | ||
private readonly onCompilation; | ||
private readonly onAfterEmit; | ||
private readonly onDone; | ||
private log; | ||
private warn; | ||
} |
Oops, something went wrong.