This repository has been archived on 2022-10-07. You can view files and clone it, but cannot push or open issues or pull requests.
|
module.exports = {
|
|
webpack: (config, options, webpack) => {
|
|
config.entry.main = [
|
|
'./src/main.ts'
|
|
]
|
|
|
|
config.resolve = {
|
|
extensions: [".ts", ".js", ".json"]
|
|
};
|
|
|
|
config.module.rules.push(
|
|
{
|
|
test: /\.ts$/,
|
|
loader: 'awesome-typescript-loader'
|
|
}
|
|
);
|
|
|
|
return config
|
|
}
|
|
} |