Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
clw8 committed Sep 13, 2018
0 parents commit 2456b16
Show file tree
Hide file tree
Showing 14 changed files with 7,947 additions and 0 deletions.
Binary file added .DS_Store
Binary file not shown.
Binary file added pug_and_SASS/.DS_Store
Binary file not shown.
7,001 changes: 7,001 additions & 0 deletions pug_and_SASS/package-lock.json

Large diffs are not rendered by default.

27 changes: 27 additions & 0 deletions pug_and_SASS/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
{
"name": "webpack-learning",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"dev": "webpack --watch --mode development",
"prod": "webpack --mode production"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {},
"devDependencies": {
"css-loader": "^1.0.0",
"html-loader": "^0.5.5",
"html-webpack-plugin": "^3.2.0",
"mini-css-extract-plugin": "^0.4.2",
"node-sass": "^4.9.3",
"pug-html-loader": "^1.1.5",
"sass-loader": "^7.1.0",
"style-loader": "^0.23.0",
"webpack": "^4.18.1",
"webpack-cli": "^3.1.0"
}
}
Binary file added pug_and_SASS/src/.DS_Store
Binary file not shown.
2 changes: 2 additions & 0 deletions pug_and_SASS/src/app.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
import './style.scss';
import './js/more.js';
5 changes: 5 additions & 0 deletions pug_and_SASS/src/index.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
extends layout
block content
p Woah.
block footer
p I'm a footer
1 change: 1 addition & 0 deletions pug_and_SASS/src/js/more.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
console.log("I'm the more.js file!")
10 changes: 10 additions & 0 deletions pug_and_SASS/src/layout.pug
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
doctype html
html
head
title I'm a title
body
div.container
block header
h1 I'm a header
block content
block footer
7 changes: 7 additions & 0 deletions pug_and_SASS/src/style.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@import 'styles/more.css';
@import 'styles/skeleton.css';
@import 'styles/normalize.css';

p {
color: darkgreen;
}
Empty file.
Loading

0 comments on commit 2456b16

Please sign in to comment.