Skip to content
New issue

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

I would like to be able to freely define the export path. #230

Open
zhanxiaoge opened this issue Apr 18, 2023 · 0 comments
Open

I would like to be able to freely define the export path. #230

zhanxiaoge opened this issue Apr 18, 2023 · 0 comments

Comments

@zhanxiaoge
Copy link

zhanxiaoge commented Apr 18, 2023

Please can you support custom export directories, also need to support relative paths, also the generated files follow the assetFileNames configuration by default, but some scenarios require fixed file names, thank you!

The directory structure I want to achieve.

|-- dist
|   |-- css
|       |-- index.css
|   |-- js
|       |-- index.js
|-- src
|   |-- css
|       |-- index.scss
|   |-- js
|       |-- index.js

Currently mode: "extract" is only available in the js directory.

|-- dist
|   |-- css
|   |-- js
|       |-- assets
|           |-- index-186392aa.css
|       |-- index.js
|-- src
|   |-- css
|       |-- index.scss
|   |-- js
|       |-- index.js  -> import '../css/index.scss'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant