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

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
}
}