Revert "Update project structure and enhance build process"
This reverts commit 4cf3d9cfb5.
This commit is contained in:
@@ -5,7 +5,6 @@ import terser from "@rollup/plugin-terser";
|
||||
import resolve from "@rollup/plugin-node-resolve";
|
||||
import livereload from "rollup-plugin-livereload";
|
||||
import css from "rollup-plugin-css-only";
|
||||
import copy from "rollup-plugin-copy";
|
||||
|
||||
const production = !process.env.ROLLUP_WATCH;
|
||||
|
||||
@@ -72,13 +71,6 @@ export default {
|
||||
// If we're building for production (npm run build
|
||||
// instead of npm run dev), minify
|
||||
production && terser(),
|
||||
|
||||
// Copy static assets from public to dist
|
||||
copy({
|
||||
targets: [
|
||||
{ src: "public/*", dest: "dist" }
|
||||
]
|
||||
}),
|
||||
],
|
||||
watch: {
|
||||
clearScreen: false,
|
||||
|
||||
Reference in New Issue
Block a user