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.
skynet-webportal/packages/siaviewnode-server/backpack.config.js

20 lines
334 B
JavaScript
Raw Normal View History

2020-01-31 20:18:58 +00:00
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
}
}