Comments (1)
Never mind, it does exactly that! Using the {%javascripts filter="?requirejs" %}
block, it will use that as an entry-point.
The one thing to be aware is that it has to point to a Javascript file that looks like this:
require([
'dependencies',
'go',
'here/including/your/modules'
], function() {
});
NOT a regular define()
module!
from hearsayrequirejsbundle.
Related Issues (20)
- Packages/paths with .js in the name cannot be used
- 2.0 does not support build_profile option in bundle configuration HOT 23
- Assetic filter with production flag causes 404 errors in dev environment HOT 13
- assetic:dump --watch keeps generating files HOT 1
- Setting hide_unoptimized_assets to false causes an InvalidConfigurationException HOT 5
- extra template neccessary for require.js HOT 1
- require_js Twig global no longer created
- Almond integration
- How can I use modules for r.js? HOT 2
- Service ("templating.helper.assets") on cache:clear
- directories specified in the array "paths" in yml configuration file are not processed correctly
- Twig Exception about Template name...
- Undefined method HOT 7
- Incorrect <script> output in production
- Create a recent tag HOT 1
- Fix src() method in RequireJSHelper.php HOT 1
- Use this bundle with php templating engine (not twig)
- enable JS File loading from public folders to increase performance in development HOT 1
- The child node "base_directory" at path "hearsay_require_js" must be configured. HOT 3
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 hearsayrequirejsbundle.