Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ignorePrefix option to ignore files #2417

Merged
merged 3 commits into from
Jan 5, 2018
Merged

Add ignorePrefix option to ignore files #2417

merged 3 commits into from
Jan 5, 2018

Conversation

graphman65
Copy link

This PR is adding the feature requested in #2311.
There is now a option called "ignorePrefix" (default to '-'). All the files in pages/ layout/ middleware/ store/ will be ignored if they start with this prefix.

@codecov-io
Copy link

Codecov Report

Merging #2417 into dev will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@         Coverage Diff          @@
##            dev   #2417   +/-   ##
====================================
  Coverage   100%    100%           
====================================
  Files        20      20           
  Lines      1144    1144           
====================================
  Hits       1144    1144
Impacted Files Coverage Δ
lib/common/options.js 100% <ø> (ø) ⬆️
lib/builder/builder.js 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ae754af...45c15a9. Read the comment docs.

@Atinux Atinux merged commit b941b5e into nuxt:dev Jan 5, 2018
@icarito
Copy link

icarito commented Feb 21, 2018

Just a note that this features default configuration is a little bit difficult to use from the command line:

$ mv transcrypt.vue -transcrypt.vue
mv: failed to access 'ranscrypt.vue': No such file or directory

I suggest to set ignorePrefix by default to . - it is a convention in UNIX that dotted files are hidden.

@lock
Copy link

lock bot commented Nov 1, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Nov 1, 2018
@danielroe danielroe added the 2.x label Jan 18, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants