Skip to content

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

Merged
merged 13 commits into from
Oct 18, 2018
Merged

feat: Initial commit #1

merged 13 commits into from
Oct 18, 2018

Conversation

mattcompiles
Copy link
Collaborator

No description provided.

.nvmrc Outdated
@@ -0,0 +1 @@
10.9.0
Copy link
Member

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'
Copy link
Member

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}
`;
Copy link
Contributor

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}`);
Copy link
Member

@markdalgleish markdalgleish Oct 18, 2018

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?

@mattcompiles mattcompiles merged commit 53dd50e into master Oct 18, 2018
@mattcompiles mattcompiles deleted the init-2 branch October 18, 2018 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants