Skip to content

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

@zhanxiaoge

Description

@zhanxiaoge

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions