Ai
1 Star 0 Fork 0

xavier/jsencrypt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.config.js 851 Bytes
一键复制 编辑 原始数据 按行查看 历史
dpronin 提交于 2017-12-20 23:12 +08:00 . attempts to build library
const path = require('path');
var modules_path = path.resolve(__dirname, './bin');
module.exports = {
target: 'web',
// devtool: 'inline-source-map',
entry: './src/JSEncrypt.ts',
output: {
filename: 'jsencrypt.js',
chunkFilename: 'modules/[chunkhash].[name].chunk.js',
path: modules_path,
strictModuleExceptionHandling: true
},
resolve: {
// Add `.ts` and `.tsx` as a resolvable extension.
extensions: ['.ts', '.tsx', '.js']
},
module: {
rules: [
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
{
test: /\.tsx?$/,
use: [
{
loader: 'ts-loader',
options: {
transpileOnly: false,
configFile: require.resolve("./tsconfig.json")
}
},
]
},
]
},
};
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/xavierJava/jsencrypt.git
git@gitee.com:xavierJava/jsencrypt.git
xavierJava
jsencrypt
jsencrypt
master

搜索帮助