Skip to content

npm run dev: Entry module "src/server.js" is implicitly using "default" export mode #4

Description

@pascalandy

It's just annoying :-p. You can see my fork here.

Thanks for all the work!

npm run dev

> ssg_sapper@0.0.1 dev /Volumes/ssg_sapper
> run-p watch:*

> ssg_sapper@0.0.1 watch:css /Volumes/ssg_sapper
> postcss src/assets/global.pcss -o static/global.css -w

> ssg_sapper@0.0.1 watch:dev /Volumes/ssg_sapper
> sapper dev

• server
Entry module "src/server.js" is implicitly using "default" export mode, which means for CommonJS output that its default export is assigned to "module.exports". For many tools, such CommonJS output will not be interchangeable with the original ES module. If this is intended, explicitly set "output.exports" to either "auto" or "default", otherwise you might want to consider changing the signature of "src/server.js" to use named exports only.
✔ client (5.6s)
> Listening on http://localhost:3000

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions