Skip to content

Conversation

npisciotti1
Copy link

No description provided.

app/entry.js Outdated
'use strict';

require('./scss/reset.scss');
require('./scss/main.scss');
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You've renamed these but you are still requiring them here with the old name.

module.exports = {
entry: `${__dirname}/app/entry.js`,
output: {
file: 'bundle.js',
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Something wrong with this line. See if you can figure out what it is.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

got it! 'filename:"

"node-sass": "^4.5.1",
"sass-loader": "^6.0.3",
"style-loader": "^0.16.0",
"webpack": "^1.14.0"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are missing file-loader and url-loader.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't remember using those dependencies? I was checking other peoples' package.json files and I didn't see them either?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brian had them in his and I thought that might be why your fonts were not loading.

*~

#Build (webpack)
build/
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good Job ignoring your build/.

@import 'base';
@import 'main';
@import 'nav';
@import 'footer';
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job modularizing your scss.

"watch": "./node_modules/webpack-dev-server/bin/webpack-dev-server.js --inline --hot",
"test": "./node_modules/karma/bin/karma start --single",
"test-watch": "./node_modules/karma/bin/karma start",
"lint": "./node_modules/eslint/bin/eslint.js ./*"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job adding these scripts.

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.

2 participants