Static GitHub Issues

[3166] [edge] Extract CSS into one single file does not work

prev: Safari 10, Uglify: SyntaxError: Cannot declare a let variable twice: 'e'
next: Change all NUXT scripts loading mode from preload to prefetch

Version

2.0.0-25390984.952dfe0

Reproduction link

https://github.com/manniL/nuxt-edge-extract-css-issue

Steps to reproduce

  1. Clone the repo
  2. Install packages with npm i
  3. Run npm run build

Related test: https://github.com/nuxt/nuxt.js/blob/dev/test/fixtures/extract-css/extract-css.test.js

What is expected ?

CSS will be extracted and merged into one single file

What is actually happening?

CSS is extracted but not merged into a single file.

<!--cmty--><div align="right"><sub><em>This bug report is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c6814">#c6814</a>)</em></sub></div>