Skip to content

Commit

Permalink
Image can be imported now from local machine
Browse files Browse the repository at this point in the history
  • Loading branch information
rasel-rz committed Aug 30, 2024
1 parent f62abf7 commit 93b65d5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 }),
Expand All @@ -30,6 +31,7 @@ const pluginConfigs = [
],
}),
rollupCss(),
rollupImage(),
rollupCleanup({ comments: commentsOnBuild, maxEmptyLines: 1 })
];
app.get('/', (req, res) => res.send('Hello World!'));
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -43,4 +44,4 @@
"sass": "^1.77.8",
"ws": "^8.18.0"
}
}
}

0 comments on commit 93b65d5

Please sign in to comment.