Use default file structure in src/
This commit is contained in:
parent
2295f4a6d5
commit
cb79cbfb05
|
@ -8,10 +8,10 @@ module.exports = grunt => {
|
|||
},
|
||||
copy: {
|
||||
css: {
|
||||
files: [{expand: true, cwd: "src/main/", src: "**/*.css", dest: "dist/"}]
|
||||
files: [{expand: true, cwd: "src/main/", src: "**/*.css", dest: "dist/", flatten: true}]
|
||||
},
|
||||
html: {
|
||||
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/"}]
|
||||
files: [{expand: true, cwd: "src/main/", src: "**/*.html", dest: "dist/", flatten: true}]
|
||||
},
|
||||
},
|
||||
focus: {
|
||||
|
@ -61,7 +61,7 @@ module.exports = grunt => {
|
|||
},
|
||||
webpack: {
|
||||
options: {
|
||||
entry: "./src/main/index.js",
|
||||
entry: "./src/main/js/main.js",
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "tools",
|
||||
"version": "1.1.0",
|
||||
"version": "1.1.1",
|
||||
"description": "Main page for the /tools directory.",
|
||||
"author": "Felix W. Dekker",
|
||||
"browser": "dist/bundle.js",
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
|
||||
<!-- Scripts -->
|
||||
<script src="https://static.fwdekker.com/lib/template/1.x.x/bundle.js" crossorigin="anonymous"></script>
|
||||
<!--suppress HtmlUnknownTarget -->
|
||||
<script src="bundle.js?v=%%VERSION_NUMBER%%"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Reference in New Issue