mirror of
https://github.com/tbluemel/rtf.js.git
synced 2026-11-30 16:47:59 +01:00
24 lines
641 B
JavaScript
24 lines
641 B
JavaScript
const path = require('path');
|
|
const merge = require('webpack-merge');
|
|
const baseConfig = require('./base.config.js');
|
|
|
|
module.exports = merge(baseConfig, {
|
|
module: {
|
|
rules: [
|
|
{
|
|
test: /\.ts?$/,
|
|
use: [ {
|
|
loader: 'ts-loader',
|
|
options: {
|
|
transpileOnly: true
|
|
}
|
|
}, 'typewiz-webpack'],
|
|
include: [
|
|
path.resolve(__dirname, "../src"),
|
|
path.resolve(__dirname, "../node_modules/codepage")
|
|
]
|
|
}
|
|
]
|
|
}
|
|
});
|