Nuxt.js: [edge] Conflict: Multiple assets emit to the same filename

Created on 29 Mar 2018  路  4Comments  路  Source: nuxt/nuxt.js

Version

nuxt-edge (2.0)

Bug report

I have a big project here that I tried to update from nuxt to nuxt-edge.

When I run nuxt build I see a lot of errors like this:

Conflict: Multiple assets emit to the same filename xxxx.css

What is expected ?

No error on nuxt build

What is actually happening?

Error message

This bug report is available on Nuxt.js community (#c6797)
bug-report

Most helpful comment

Hi @pSchaub. Thanks for the report. This is likely to be from same content hashes. (which should be resolved on the plugin itself). To make sure, would you please test this config:

  build: {
    optimization: {
      splitChunks: {
        name: true
      }
    }
  }

All 4 comments

Hi @pSchaub. Thanks for the report. This is likely to be from same content hashes. (which should be resolved on the plugin itself). To make sure, would you please test this config:

  build: {
    optimization: {
      splitChunks: {
        name: true
      }
    }
  }

@pi0 Thank you. The workaround works fine.

This bug-report has been cancelled by @manniL.

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mattdharmon picture mattdharmon  路  3Comments

vadimsg picture vadimsg  路  3Comments

pehbehbeh picture pehbehbeh  路  3Comments

maicong picture maicong  路  3Comments

lazycrazy picture lazycrazy  路  3Comments