mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* updated definition * added test * fixed error * reverted changes not related to pull request
21 lines
557 B
TypeScript
21 lines
557 B
TypeScript
import { Compiler, Configuration, Plugin } from 'webpack';
|
|
import CaseSensitivePathsWebpackPlugin = require('case-sensitive-paths-webpack-plugin');
|
|
|
|
const options: CaseSensitivePathsWebpackPlugin.Options = {
|
|
debug: true,
|
|
};
|
|
const compiler: Compiler = new Compiler();
|
|
const plugin: Plugin = new CaseSensitivePathsWebpackPlugin();
|
|
|
|
plugin.apply(compiler);
|
|
|
|
const c: Configuration = {
|
|
plugins: [
|
|
new CaseSensitivePathsWebpackPlugin(),
|
|
new CaseSensitivePathsWebpackPlugin({
|
|
debug: true,
|
|
}),
|
|
plugin,
|
|
],
|
|
};
|