Use default file structure in src/

This commit is contained in:
Florine W. Dekker 2021-04-16 00:58:37 +02:00
parent 2295f4a6d5
commit cb79cbfb05
Signed by: FWDekker
GPG Key ID: B1B567AF58D6EE0F
6 changed files with 5 additions and 4 deletions

View File

@ -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: [
{

BIN
package-lock.json generated

Binary file not shown.

View File

@ -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",

View File

@ -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>