1 Star 0 Fork 1

luojoe/anichart.js

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
webpack.dev.js 727 Bytes
一键复制 编辑 原始数据 按行查看 历史
见齐 提交于 2020-11-26 17:47 . chore: build
const common = require("./webpack.common.js");
const { merge } = require("webpack-merge");
const HtmlWebpackPlugin = require("html-webpack-plugin");
module.exports = merge(common, {
entry: {
anichart: "./src/index.ts",
test: "./test/index.ts",
},
output: {
filename: "[name].js",
},
mode: "development",
devtool: "inline-source-map",
devServer: {
contentBase: "./test",
index: "index.html",
},
module: {
rules: [
{
test: /\.csv/,
loader: "file-loader",
options: {
outputPath: "data",
},
},
],
},
plugins: [
new HtmlWebpackPlugin({
title: "Test",
meta: {
referrer: "never",
},
}),
],
});
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/joe_luo/anichart.js.git
git@gitee.com:joe_luo/anichart.js.git
joe_luo
anichart.js
anichart.js
master

搜索帮助