29 lines
992 B
JavaScript
29 lines
992 B
JavaScript
module.exports = {
|
|
mode: "development",
|
|
devtool: "source-map",
|
|
optimization: {
|
|
chunkIds: false
|
|
},
|
|
entry: {
|
|
// "sciproject-description": "./src/main/typescript/sciproject-description.ts",
|
|
//"sciproject-contacts": "./src/main/typescript/sciproject-contacts.ts",
|
|
// "sciproject-fundingtext": "./src/main/typescript/sciproject-fundingtext.ts",
|
|
// "sciproject-fundingvolume": "./src/main/typescript/sciproject-fundingvolume.ts",
|
|
//"sciproject-sponsoring": "./src/main/typescript/sciproject-sponsoring.ts"
|
|
},
|
|
output: {
|
|
filename: "[name].js",
|
|
path: __dirname + "/target/generated-resources/assets/@sciproject"
|
|
},
|
|
resolve: {
|
|
extensions: [".tsx", ".ts", ".js", ".json"]
|
|
},
|
|
module: {
|
|
rules: [
|
|
// all files with a '.ts' or '.tsx' extension will be handled by 'ts-loader'
|
|
{ test: /\.tsx?$/, use: ["ts-loader"], exclude: /node_modules/ }
|
|
]
|
|
}
|
|
|
|
}
|