Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

templates/*/node_modules should be ignored #189

Closed
Labels
bugSomething isn't working
@AriPerkkio

Description

Describe the bug

If template's node_modules is present, these are copied to webcontainer. This can easily lead into copying 10s of megabytes of content. Also platform specific modules will not work as they are not using wasm builds of native modules.

Steps to reproduce

  1. npm create tutorial
  2. cd src/templates/default; npm install
  3. Start dev server
  4. Preview fails to load

Expected behavior

node_modules should be excluded by default.

Screenshots


Platform

  • TutorialKit version: 0.1.1

Additional

export const IGNORED_FILES = ['**/.DS_Store', '**/*.swp'];

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /