RESTRUT Rename app.js to index.js and remove bootstrap dependency
authorHumberto Alfonso Díaz <humberto.alfonso@asvito.es>
Thu, 20 Jun 2019 07:12:47 +0000 (09:12 +0200)
committerLorenzo Tilve <ltilve@igalia.com>
Tue, 4 Feb 2020 08:42:15 +0000 (09:42 +0100)
package.json
src/index.js [moved from src/app.js with 72% similarity]
webpack.config.js

index 1c221bc..e23d95a 100644 (file)
@@ -36,7 +36,6 @@
         "zip-webpack-plugin": "^3.0.0"
     },
     "dependencies": {
-        "@iconfu/svg-inject": "^1.2.3",
-        "bootstrap": "^4.3.1"
+        "@iconfu/svg-inject": "^1.2.3"
     }
 }
similarity index 72%
rename from src/app.js
rename to src/index.js
index 7c9b244..406ef65 100644 (file)
@@ -4,5 +4,4 @@ console.log('Arrancada la aplicación compilando CSS y SaSS');
 
 
 /* CSS */
-// import 'bootstrap/dist/css/bootstrap.min.css';
 import './styles/app.scss';
index 157b8be..b875b6c 100644 (file)
@@ -9,9 +9,9 @@ const ZipPlugin = require('zip-webpack-plugin');
 
 module.exports = {
     mode: 'production',
-    entry: './src/app.js',
+    entry: './src/index.js',
     output: {
-        filename: 'app.js',
+        filename: 'index.js',
         path: __dirname + '/dist'
     },
     optimization: {