Giter Site home page Giter Site logo

Comments (3)

lukecharle avatar lukecharle commented on September 18, 2024 1

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.

lukecharle avatar lukecharle commented on September 18, 2024

Did you check here

Screenshot 2023-06-27 at 17 59 57

from adastra.

benshrimpton avatar benshrimpton commented on September 18, 2024

@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.

Screen Shot 2023-08-15 at 5 15 45 PM

Would be good if there was a remove all old Adastra build files feature in the build process.

from adastra.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.