Version 1.4.0 (#10)

* Feature/webpack integration (#9)

* working webpack into template

* removing package-lock.json

* implementing source

* style update
This commit is contained in:
Jonas Pfalzgraf 2023-01-24 01:07:55 +01:00 committed by GitHub
parent 241d3d02c6
commit 2319a1fd9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
15 changed files with 217 additions and 766 deletions

View file

@ -0,0 +1,28 @@
const path = require('path');
module.exports = {
entry: './src/settings.ts',
mode: 'production',
devtool: 'source-map',
module: {
rules: [
{
test: /\.tsx?$/,
use: 'ts-loader',
exclude: [
"/node_modules/",
"/dist/",
"/src/background.ts",
"/src/app.ts"
],
},
],
},
resolve: {
extensions: ['.tsx', '.ts'],
},
output: {
filename: 'settings.js',
path: path.resolve(__dirname, 'dist/js'),
},
};