Skip to content
Permalink
Browse files

npm, grunt, assets concatenation

  • Loading branch information
zack committed Oct 14, 2018
1 parent 86a8c33 commit 6d145c6e960c2a627ee54b7a66c79eb32536a9b5
Showing with 1,846 additions and 230 deletions.
  1. +2 −0 .gitignore
  2. +15 −0 Gruntfile.js
  3. +1,581 −0 package-lock.json
  4. +18 −0 package.json
  5. +0 −225 script.js
  6. 0 main.css → src/css/styles.css
  7. +3 −5 { → src}/index.html
  8. +227 −0 src/js/script.js
@@ -0,0 +1,2 @@
dist
node_modules
@@ -0,0 +1,15 @@
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
assets_inline: {
all: {
files: {
"./dist/index.html": "./src/index.html"
}
}
}
});

grunt.loadNpmTasks("grunt-assets-inline");
grunt.registerTask("default", ['assets_inline']);
};

0 comments on commit 6d145c6

Please sign in to comment.
You can’t perform that action at this time.