Comments (3)
In the package.json
file under scripts, you'll see several scripts that look something like this:
"build": "gulp build && tweego -f $npm_package_config_format -m src/modules/ --head=src/head-content.html -o dist/index.html project && opn dist/index.html"
If you remove the final part (&& opn dist/index.html
) from all of those scripts, or from the relevant ones, it will stop opening new tabs/windows in the browser.
from tweego-setup.
Compiling both the CSS and JS doesn't take that much processing power. I'm not sure if separating them is worth it.
from tweego-setup.
oh ok, allright then. thx for the quick reply.
and how to compile and update the page but doesnt need to go new tab , its quite annoying when compile always open a new tab. thx before
from tweego-setup.
Related Issues (14)
- readme.md library wrapper example HOT 1
- module is not present HOT 1
- eslint ? HOT 1
- csslint doesn' support CSS variables HOT 4
- tweego --watch flag needs explicit src/module to exist in order to watch HOT 1
- package.json dependencies should be development dependencies HOT 1
- Does not build with nodejs 11 HOT 2
- Story format change issue HOT 3
- Get rid of gulp and simplify build
- Please add an option to place user scripts in external file HOT 6
- 175 vulnerabilities HOT 2
- Create a Tweego 2 branch.
- Favicon HTML not added to output HOT 1
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 tweego-setup.