mirror of
https://activitypub.software/TransFem-org/sfm-js
synced 2024-11-29 09:23:05 +00:00
27 lines
455 B
JavaScript
27 lines
455 B
JavaScript
|
module.exports = {
|
||
|
entry: './src/client/mainEntry.ts',
|
||
|
output: {
|
||
|
path: `${__dirname}/built/client`,
|
||
|
publicPath: '/', // base path of URL
|
||
|
filename: 'bundle.js',
|
||
|
chunkFilename: "bundle.[name].js",
|
||
|
},
|
||
|
module: {
|
||
|
rules: [
|
||
|
{
|
||
|
test: /\.ts$/,
|
||
|
exclude: /node_modules/,
|
||
|
use: [
|
||
|
{
|
||
|
loader: 'ts-loader',
|
||
|
options: { configFile: 'tsconfig.client.json' },
|
||
|
},
|
||
|
],
|
||
|
},
|
||
|
]
|
||
|
},
|
||
|
resolve: {
|
||
|
extensions: ['.ts'],
|
||
|
},
|
||
|
};
|