Skip to content

Template files starting with an underscore are renamed to a start with a period #1732

Closed
@SharpSeeEr

Description

@SharpSeeEr

Version

3.0.0-rc.3

Reproduction link

buefy/vue-cli-plugin-buefy#8 (comment)

Steps to reproduce

  1. Create a new project: vue create and choose to install support for SASS.
  2. Install plugin: vue add buefy and select to add SCSS support.
  3. The file located at
    src/assets/scss/.variables.scss should be named
    src/assets/scss/_variables.scss

What is expected?

Should have a file at the following location:
src/assets/scss/_variables.scss

What is actually happening?

The file is actually named:
src/assets/scss/.variables.scss


We believe the problem comes from

// dotfiles are ignored when published to npm, therefore in templates
where files starting with an _ are renamed to start with a . due to .files not included in npm uploads.

Files starting with an underscore are standard syntax for SCSS partials.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions