Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

Commit

Permalink
chore: remove css files and update eleventy config (#17)
Browse files Browse the repository at this point in the history
* chore: remove css files

* chore: remove css files

* chore: update build script and eleenty config
  • Loading branch information
snitin315 authored Apr 13, 2022
1 parent aef1c42 commit c3b1b57
Show file tree
Hide file tree
Showing 54 changed files with 2 additions and 4,220 deletions.
24 changes: 0 additions & 24 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,30 +22,6 @@ module.exports = function(eleventyConfig) {

eleventyConfig.addPassthroughCopy('./src/assets/');

eleventyConfig.addPassthroughCopy({
'./src/content/**/*.png': "/assets/images"
});

eleventyConfig.addPassthroughCopy({
'./src/content/**/*.jpg': "/assets/images"
});

eleventyConfig.addPassthroughCopy({
'./src/content/**/*.jpeg': "/assets/images"
});

eleventyConfig.addPassthroughCopy({
'./src/content/**/*.svg': "/assets/images"
});

eleventyConfig.addPassthroughCopy({
'./src/content/**/*.mp4': "/assets/videos"
});

eleventyConfig.addPassthroughCopy({
'./src/content/**/*.pdf': "/assets/documents"
});

return {
passthroughFileCopy: true,

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ lerna-debug.log*

# Eleventy output (public site)
_site/
src/assets/css/**

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"build:webpack": "webpack --mode=production",
"prestart": "npm run build",
"start": "node tools/dev-server.js",
"build": "npm-run-all install:playground build:eleventy build:sass build:webpack images",
"build": "npm-run-all install:playground build:sass build:eleventy build:webpack images",
"postinstall": "npm run install:playground"
},
"devDependencies": {
Expand Down
70 changes: 0 additions & 70 deletions src/assets/css/components/accordion.css

This file was deleted.

24 changes: 0 additions & 24 deletions src/assets/css/components/breadcrumbs-min.css

This file was deleted.

Empty file.
62 changes: 0 additions & 62 deletions src/assets/css/components/buttons.css

This file was deleted.

98 changes: 0 additions & 98 deletions src/assets/css/components/card.css

This file was deleted.

Loading

0 comments on commit c3b1b57

Please sign in to comment.