Skip to content

Instantly share code, notes, and snippets.

@yokotak0527
Created August 23, 2019 10:16
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
globでファイル一覧取得
// node_modulesを除くjsファイル
glob.sync('{,!(node_modules)/**/}[!_]*.js')
// node_modulesを除くSassファイル (.sassと.scss)
glob.sync('{,!(node_modules)/**/}[!_]*.s[a|c]ss')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment