Skip to content

Use the "outputDir" option instead. Error  #1496

Closed
@jousi592

Description

@jousi592

Version

3.0.0-beta.15

Reproduction link

https://codesandbox.io/s/vue

Steps to reproduce

Set up vue.config.js like this:

module.exports = {

   configureWebpack:{

      output: {
	 path: '../test-folder/',
	 filename: '[name].js',
	 publicPath: '/'
       },
   }
}

And run npm run build

What is expected?

To get build files in the test-folder folder

What is actually happening?

I am getting the: Configuration Error: Avoid modifying webpack output.path directly. Use the "outputDir" option instead.


Should have been fixed in 3.0.0-beta.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs reproductionThis issue is missing a minimal runnable reproduction, provided by the author

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions