Files
scrypted/plugins/google-home/local-sdk-app/webpack.config.node.js
Koushik Dutta a46b2811ed initial commit
2021-08-24 21:22:41 -07:00

23 lines
379 B
JavaScript

const path = require('path');
module.exports = {
mode: 'production',
target: 'node',
entry: './index.ts',
output: {
path: path.resolve(__dirname, '../docs/local-sdk-app/node/'),
filename: 'bundle.js'
},
module: {
rules: [
{
test: /\.ts$/,
loader: 'ts-loader'
}
]
},
resolve: {
extensions: [ '.ts', '.js' ]
},
};