Big restructuring - repo is now a full home assistant config directory
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
const path = require('path');
|
||||
|
||||
module.exports = {
|
||||
entry: "./src/state-card-custom-cover.ts",
|
||||
output: {
|
||||
filename: 'state-card-custom-cover.js',
|
||||
path: path.resolve(__dirname, 'dist')
|
||||
},
|
||||
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/}
|
||||
]
|
||||
},
|
||||
mode: "production"
|
||||
}
|
||||
Reference in New Issue
Block a user