lml / sketchily

Embed SVG-edit in Rails HTML forms
MIT License
26 stars 9 forks source link

Figure out the easiest way to compile svg-edit to a single file #18

Open Dantemss opened 9 years ago

Dantemss commented 9 years ago

In the past I've had to rewrite portions of svg-edit to make it compatible with the Rails asset pipeline.

Since we are upgrading to svg-edit 2.7, we should try to find a way to compile svg-edit into a single file to make this task easier. This should be made as automated as possible.

All extensions except ext-storage should be included. Optionally, they could be specified during the compilation process.

Language would ideally be specified in whatever process compiles svg-edit into a single file, but initially defaulting to english is also acceptable.

Images would ideally be inlined as base64-encoded strings.

Potentially problematic code obviously includes the code that loads the extensions and language scripts.