comp.lang.ada
 help / color / mirror / Atom feed
From: Michael Hardeman <mhardeman25@gmail.com>
Subject: Re: AWS template documentation help
Date: Thu, 20 Dec 2018 16:20:05 -0800 (PST)
Date: 2018-12-20T16:20:05-08:00	[thread overview]
Message-ID: <4f2ce289-1673-4248-b38e-08a735290a22@googlegroups.com> (raw)
In-Reply-To: <3d894ae7-341c-48e4-acb6-eff433ab9766@googlegroups.com>

So I could make the Start_With => @, which works, but the problem is that's not unique enough. There is an @license comment at the top of their source code that causes AWS to throw an error for non-terminated templates.


On Thursday, December 20, 2018 at 7:12:24 PM UTC-5, Michael Hardeman wrote:
> I have done that, 
> 
> It works with other delimiters, but when the Start_With starts with ' it seems to fail.
> 
> The problem I'm really solve is creating a modern Single Page App, that's served and built in AWS. I'm using polymer 3, they do some very funky stuff. when It's served via the polymer-cli's "polymer serve" command, all javascript module paths that start with @ are served to the browser modified.  
> 
> for example:
> import { PolymerElement, html } from '@polymer/polymer/polymer-element.js';
> 
> is modified to
> import { PolymerElement, html } from 'node_modules/@polymer/polymer/polymer-element.js';
> 
> So in order to emulate this, I need to replace '@polymer/ with 'node_modules/@polymer/

  reply	other threads:[~2018-12-21  0:20 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-20 22:35 AWS template documentation help Michael Hardeman
2018-12-20 23:39 ` Shark8
2018-12-21  0:12   ` Michael Hardeman
2018-12-21  0:20     ` Michael Hardeman [this message]
2018-12-21  8:16 ` Per Sandberg
2018-12-21  9:35   ` Michael Hardeman
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox