Skip to content

sw-debug.js is included in build output when building with option --no-sw #1477

@RonnyLV

Description

@RonnyLV

Do you want to request a feature or report a bug?
Bug

What is the current behaviour?
sw-debug.js is included in build output when building with option --no-sw

If the current behaviour is a bug, please provide the steps to reproduce.
image

What is the expected behaviour?
No sw-debug.js in build output with --no-sw enabled

Environment Info:
  System:
    OS: Linux 5.4 Alpine Linux
    CPU: (8) x64 Intel(R) Core(TM) i7-8550U CPU @ 1.80GHz
  Binaries:
    Node: 14.15.1 - /usr/local/bin/node
    Yarn: 1.22.5 - /usr/local/bin/yarn
    npm: 6.14.8 - /usr/local/bin/npm
  npmPackages:
    preact: ^10.3.1 => 10.5.7 
    preact-cli: 3.0.3 => 3.0.3 
    preact-render-to-string: ^5.1.4 => 5.1.12 
  npmGlobalPackages:
    preact-cli: 3.0.3

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