1.0.0 • Published 4 years ago

compile-code-loader v1.0.0

Weekly downloads
2,198
License
MIT
Repository
-
Last release
4 years ago

compile-code-loader

Compiles javascript with webpack and loads result as string

#Usage:

To compile and get result as string:

var compiledSourceString = require('compile-code?asString=true!./fileToLoad');

Also it is possible to get result as javascript and apply transformation, uglifyjs for example:

var compiledSourceString = require('raw!uglify!compile-code!./fileToLoad');

Contributing

  1. npm install
  2. cd examples && npm install
  3. npm run build-examples
1.0.0

4 years ago

0.2.0

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.6

7 years ago

0.1.5

7 years ago

0.1.0

7 years ago

0.0.2

8 years ago

0.0.1

8 years ago