Skip to content

Instantly share code, notes, and snippets.

@yokotak0527
Created August 23, 2019 10:16
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