Comments (3)
I found a solution for this, thanks to Dan Gamble.
Install @by-association-only/vite-plugin-shopify-clean
package and update vite.config.js
to the following:
import { defineConfig } from 'vite';
import adastra from 'adastra-plugin';
import shopifyClean from '@by-association-only/vite-plugin-shopify-clean';
export default defineConfig({
plugins: [
adastra(),
shopifyClean({
manifestFileName: 'adastra.manifest.json'
})
],
build: {
emptyOutDir: false
}
});
@blanklob This can be closed as resolved.
from adastra.
Did you check here
from adastra.
@lukecharle @blanklob @creativeq-dev The problem with this empty / not empty
flag is that for older sites that are being migrated where we absolutely HAVE to keep the assets folder content, we end up with dozen of Adastra build files in the assets folder.
Would be good if there was a remove all old Adastra build files
feature in the build process.
from adastra.
Related Issues (17)
- [BUG][CLI] Yarn dev bugs out HOT 5
- [BUG][CLI] Theme Editor glitchy HOT 1
- [BUG][CLI] Scafold command to launch dev store takes time to launch
- [DOCS] Add README explaining how to use Adastra and how to get started
- [FEAT][CLI] Add a create adastra command utils
- [DOCS] Create and docs website
- [TEST][PLUGIN] Fix tests with the Adastra plugin
- [FEAT][EXAMPLES] Finish and standardize the base example and make it as minimalistic as possible (recommended)
- [BUG] Error on first dev run HOT 2
- [FEAT] Create a more stable entrypoints pattern in the liquid Adastra plugin
- [REFACTOR] Updates `templates` folder and add the correct examples with a proper root README
- [REFACTOR][PLUGIN] Remove unused modules architecture
- [BUG] Fix and refactor Create Adastra CLI cause it deosn't work on windows machines.
- [Feature]: need examples of Hydrogen and Preact.
- add customURL option to adastraTagSnippetDev to let it work with ngrok
- add customURL option to adastraTagSnippetDev to let it work with ngrok #42
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adastra.