Webpack
yarn add @ddot/ddot-plugin-webpack -D
run
guide
html template
Create a new src/pages/document.ejs
, if this file exists, it will be used as the default template
options
title
such as:
outFileName
Configure the build outFileName
such as:
outputPath
such as:
chainWebpack
Extend or modify the webpack configuration via the API of [webpack-chain](https://github.com/neutrinojs/webpack-chain)
obj
such as:
tsImportOption
such as:
proxy
key
map topath
key
map toprefix
target
map toupstream
other property can auto to proxy property
such as:
alias
Configure the resolve.alias property of webpack.
such as:
define
Passed to the code via the webP's DefinePlugin , the value is automatically handled by JSON.stringify
.
such as:
Last updated
Was this helpful?