We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build(opts)
compilation.input
import { build } from '@farmfe/core'; build({ compilation: { input: { main: 'electron/main.ts', }, }, });
Output an named main.js file to dist folder.
main.js
dist
Always output index.html to the dist.
index.html
System: OS: macOS 12.2.1 CPU: (8) x64 Intel(R) Core(TM) i7-1068NG7 CPU @ 2.30GHz Memory: 83.40 MB / 16.00 GB Shell: 5.8 - /bin/zsh Binaries: Node: 18.20.2 - /usr/local/bin/node Yarn: 1.22.19 - ~/.yarn/bin/yarn npm: 10.5.0 - /usr/local/bin/npm pnpm: 8.14.3 - /usr/local/bin/pnpm Browsers: Chrome: 124.0.6367.92 Safari: 15.3 npmPackages: @farmfe/core: ^1.1.1 => 1.1.2
I'll fix it in my next PR.
The text was updated successfully, but these errors were encountered:
fix(core): compilation.input not work when use build() farm-fe#1265
build()
ee02a1f
No branches or pull requests
Steps to reproduce
What is expected?
Output an named
main.js
file todist
folder.What is actually happening?
Always output
index.html
to thedist
.System Info
Any additional comments?
I'll fix it in my next PR.
The text was updated successfully, but these errors were encountered: