-
Notifications
You must be signed in to change notification settings - Fork 27
feat: Initial commit #1
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
Conversation
.nvmrc
Outdated
@@ -0,0 +1 @@ | |||
10.9.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be lts/*
?
.travis.yml
Outdated
notifications: | ||
email: false | ||
node_js: | ||
- '8' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we have an .nvmrc
file, we should delete this version config.
index.js
Outdated
const generateNamedExports = cssModuleKeys => { | ||
const namedExports = cssModuleToNamedExports(cssModuleKeys); | ||
return `${namedExports} | ||
`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this new line incidental? Maybe convert it to \n
to be explicit
index.js
Outdated
const filename = this.resourcePath; | ||
const { mode = 'emit' } = loaderUtils.getOptions(this) || {}; | ||
if (!validModes.includes(mode)) { | ||
throw new Error(`Invalid mode option: ${mode}`); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this error be passed to the callback instead of being thrown?
…oader into init-2
…oader into init-2
No description provided.