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

Appearance settings

templates/*/node_modules should be ignored #189

Copy link
Copy link
@AriPerkkio

Description

@AriPerkkio
Issue body actions

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'];

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.