mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-11 11:50:54 +08:00
Add missing properties for webpack
This commit is contained in:
@@ -232,6 +232,33 @@ configuration = {
|
||||
|
||||
configuration = { output: { chunkFilename: "[chunkhash].bundle.js" } };
|
||||
|
||||
//
|
||||
// https://webpack.github.io/docs/configuration.html
|
||||
//
|
||||
|
||||
configuration = {
|
||||
entry: [
|
||||
"./entry1",
|
||||
"./entry2"
|
||||
]
|
||||
};
|
||||
|
||||
configuration = {
|
||||
devtool: "#inline-source-map"
|
||||
};
|
||||
|
||||
loader = {
|
||||
test: /\.jsx$/,
|
||||
include: [
|
||||
path.resolve(__dirname, "app/src"),
|
||||
path.resolve(__dirname, "app/test")
|
||||
],
|
||||
exclude: [
|
||||
path.resolve(__dirname, "node_modules")
|
||||
],
|
||||
loader: "babel-loader"
|
||||
};
|
||||
|
||||
declare var require: any;
|
||||
declare var path: any;
|
||||
configuration = {
|
||||
|
||||
Reference in New Issue
Block a user