polymer-bundle | Symfony bundle and Twig extension | Web Framework library
kandi X-RAY | polymer-bundle Summary
kandi X-RAY | polymer-bundle Summary
Symfony bundle and Twig extension for developing and deploying Polymer web components. The purpose of this bundle is making it easier to use and build Polymer web components within a Symfony project. Polyphonic handles the problems that come up when trying to build and use web components within Twig templates.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Compile the template .
- Parse an element
- Setup tagged services .
- Find common path
- Parse paths configuration .
- Render element action .
- Fill configuration from array .
- Tokenize the given code .
- Returns a template by name .
- Returns the lexer .
polymer-bundle Key Features
polymer-bundle Examples and Code Snippets
Community Discussions
Trending Discussions on polymer-bundle
QUESTION
Using polymer-cli
1.7.7, bundling a Polymer 3 app for esm, es6 and es5 support does not output node_modules
. As a consequence, dependencies such as @webcomponents/webcomponentsjs
are not found when the bundles are served with prpl-server
.
Here is a small example for reproduction:
https://github.com/lpellegr/polymer-bundler-bundle-issue
This example is based on the original polymer 3 app template generated by polymer-cli init
. The configuration file polymer.json
has been edited to generate esm, es6 and es5 bundles as suggested on the following resource:
https://polymer.github.io/pwa-starter-kit/building-and-deploying/
If you run polymer build
, the output directory does not contain include a node_modules
directory and thus not the JavaScript file for webcomponentjs:
ANSWER
Answered 2018-Jul-20 at 20:34Your polymer.json
file doesn't include the information that the Polymer CLI uses to decide what to include in the build.
Adding the missing lines as per the PWA Starter Kit makes it work, for example:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install polymer-bundle
PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page