diff --git a/app.js b/app.js index 3588599..41680eb 100644 --- a/app.js +++ b/app.js @@ -21,6 +21,7 @@ const buildOnly = process.argv[2] === 'build'; const rollupAlias = require('@rollup/plugin-alias'); const rollupJson = require('@rollup/plugin-json'); const rollupCss = require('rollup-plugin-import-css'); +const rollupImage = require('@rollup/plugin-image'); const rollupCleanup = require('rollup-plugin-cleanup'); const pluginConfigs = [ rollupJson({ namedExports: false, preferConst: true }), @@ -30,6 +31,7 @@ const pluginConfigs = [ ], }), rollupCss(), + rollupImage(), rollupCleanup({ comments: commentsOnBuild, maxEmptyLines: 1 }) ]; app.get('/', (req, res) => res.send('Hello World!')); diff --git a/package.json b/package.json index b0d178e..6376fb1 100644 --- a/package.json +++ b/package.json @@ -28,12 +28,13 @@ "homepage": "https://github.com/rasel-rz/experiment-runner#readme", "dependencies": { "@rollup/plugin-alias": "^5.1.0", + "@rollup/plugin-image": "^3.0.3", "@rollup/plugin-json": "^6.1.0", "dotenv": "^16.4.5", "express": "^4.19.2", + "fuzzy": "^0.1.3", "inquirer": "^10.1.5", "inquirer-autocomplete-standalone": "^0.8.1", - "fuzzy": "^0.1.3", "node-clipboardy": "^1.0.3", "nodemon": "^3.1.4", "picocolors": "^1.0.1", @@ -43,4 +44,4 @@ "sass": "^1.77.8", "ws": "^8.18.0" } -} \ No newline at end of file +}