1 Star 0 Fork 1

ivwsdnvpynn / NetV.js

forked from ZJUVAG / NetV.js 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
webpack.common.js 929 Bytes
一键复制 编辑 原始数据 按行查看 历史
const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin
module.exports = {
entry: './src/index.ts',
resolve: {
// Add `.ts` and `.tsx` as a resolvable extension.
extensions: ['.ts', '.tsx', '.js']
},
node: {
fs: 'empty'
},
module: {
rules: [
{
test: /\.hlsl$/,
loader: 'raw-loader'
},
// all files with a `.ts` or `.tsx` extension will be handled by `ts-loader`
{
test: /\.tsx?$/,
loader: 'ts-loader'
}
]
},
externals: {
// loadsh: 'lodash',
// assert: 'assert',
},
plugins: [
new BundleAnalyzerPlugin({
analyzerMode: 'disabled',
generateStatsFile: true,
statsOptions: {
source: false
}
})
],
}
TypeScript
1
https://gitee.com/ivwsdnvpynn/NetV.js.git
git@gitee.com:ivwsdnvpynn/NetV.js.git
ivwsdnvpynn
NetV.js
NetV.js
dev

搜索帮助