You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
// webpack 中智能提示
|
|
const path = require("path");
|
|
|
|
const resolve = (dir) => path.join(__dirname, dir);
|
|
|
|
module.exports = {
|
|
resolve: {
|
|
alias: {
|
|
types: resolve("types"),
|
|
main: resolve("main"),
|
|
renderer: resolve("renderer"),
|
|
},
|
|
extensions: [".js", ".jsx", ".ts", ".tsx"],
|
|
},
|
|
};
|