Skip to content

How to change the output directory of .js / .css files #1967

@minkBoy

Description

@minkBoy

Version

3.0.0-rc.5

Node and OS info

Node: 8.9.0 / Windows 10

Steps to reproduce

Tried changing the dir path of js & css files from /js/file.js to /file.js and /css/file.css to /file.css using the assetsDir. Yes i disabled the hash generation but i get assetsDir is not allowed when building. Copy pasted the code from here but by changing assetDir and filenames.

What is expected?

build files are all in /dist folder rather than in /dist/js or /dis/css folders.

What is actually happening?

Build fails with error assertsDir is not allowed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions