Comments (6)
I'm closing this because it's not something I plan to support in the short-term, I may revisit it though.
If you want a quick-fix then you could do something like this with your package.json export script:
"scripts": {
"start": "pingy dev",
"export": "pingy export && find ./dist/ -name \"*.pug\" -type f -delete"
},
from pingy-cli.
Is this workaround still valid? doesn't seem to work anymore:
"export": "pingy export && find ./dist/ -name \"*.css\" -type f -delete"
I am still intrested in an option like this:
{ //... "sourceMap": false, //... }
from pingy-cli.
Is this workaround still valid?
It depends on your OS. If you're on windows then you probably want something like: pingy export && del /s dist/*.css
. See here for more info: https://stackoverflow.com/questions/35957077/how-to-remove-all-files-with-specific-extension-in-folder
from pingy-cli.
The "del" command works by itself. But if I use it with pingy export, it's not.
I think it is executed before the "export" is completed. So the files are created after the del command.
from pingy-cli.
I'm guessing you're using powershell or something like that. See here: https://stackoverflow.com/questions/563600/can-i-get-to-work-in-powershell
from pingy-cli.
Thanks!
from pingy-cli.
Related Issues (20)
- Don't use github API to check shorthand github URLS
- Use dint for checking export integrity
- Feature: Add support for redirects. HOT 2
- Support for Purify CSS HOT 1
- error on 'pingy dev' HOT 2
- Not transpile when more than one dot in name HOT 3
- Support for export/import package HOT 1
- Export options HOT 2
- Move to Yarn workspaces HOT 1
- Extend the config file with '--no-open' option HOT 1
- Can I import/export package using pingy-cli? HOT 1
- Please help with .ejs templates
- SCSS @import files are not live reloading HOT 2
- Export creates redundant dist subfolders HOT 5
- Extend debug messages HOT 2
- Config to export dist only contain needed files, folders? HOT 2
- how to add data.json to pug rendering? HOT 1
- Update insecure dependencies
- jquery
- Windows HOT 2
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 pingy-cli.