hxfdarling / a8k Goto Github PK
View Code? Open in Web Editor NEW基于 webpack 最佳实践构建工具https://hxfdarling.github.io/a8k/
License: MIT License
基于 webpack 最佳实践构建工具https://hxfdarling.github.io/a8k/
License: MIT License
Describe the bug
A clear and concise description of what the bug is.
get .DS_Store file as entry file, system macOS
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
I guess need to filter that file
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Is your feature request related to a problem? Please describe.
有时候,我们用a8k构建项目,然后项目依赖了一个module,这个module是一个单独的module,被当作我们的dependency通过npm install
添加至node_modules,但是很多时候我们可能会在a8k构建的业务项目中进行该module的调试。需要a8k在dev时候能选择性监听部分node_modules。
Describe the solution you'd like
因为之前由于cpu资源问题,这里进行了优化,将node_modules监听去除了,目前看来不能全部排除,所以折中的方案是添加a8k options,默认监听node_modules是关闭的,但可以开启,通过添加white list的方式指定some node_modules进行监听。
Additional context
PS: 这里要注意的是,很有可能,调试的module是通过npm link方式软连接进来的,所以要注意watch还应该追踪sym link到目标位置去监听module文件。
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Following commands on win10 lead an error
k create demo
- 基于typescript的项目
- node server
Error msg:
Trace: { Error: spawn npm ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
errno: 'ENOENT',
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [ 'i' ] }
at ChildProcess.sp.on.err (C:\Users\asshole\AppData\Local\Yarn\Data\global\node_modules\@a8k\cli-utils\spawn.js:5:15)
at ChildProcess.emit (events.js:198:13)
at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
How can i configure webpack external in a8k.config.js. Are there any relevant instructions about the a8k.config.js file here?
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
提示需要安装@a8k/plugin-typescript-template
Describe the solution you'd like
A clear and concise description of what you want to happen.
建议集成到a8k库,或者直接在文档中添加指引
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.
Describe the bug
Steps to produce the bug:
Expected behavior
No errors for all the dependencies.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.
Describe the bug
As title described.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Alpha versions or version under developing SHOULD NOT alert users to upgrade.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context
No additional context.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.