Revert "Merge webpack-env.* into webpack.*"

This reverts commit b123aa5469.
This commit is contained in:
tkqubo
2015-10-15 23:54:55 +09:00
parent 3a6e1b8988
commit b5956f2bef
4 changed files with 118 additions and 117 deletions
-19
View File
@@ -386,22 +386,3 @@ plugin = new webpack.ExtendedAPIPlugin();
plugin = new webpack.NoErrorsPlugin();
plugin = new webpack.WatchIgnorePlugin(paths);
//
// http://webpack.github.io/docs/api-in-modules.html
//
interface SomeModule {
someMethod(): void;
}
let someModule: SomeModule = require('./someModule');
someModule.someMethod();
let context2 = require.context('./somePath', true);
let contextModule: SomeModule = context2('./someModule');
require(['./someModule', './otherModule'], (someModule: SomeModule, otherModule: any) => {
});