karma-html2js-preprocessor icon indicating copy to clipboard operation
karma-html2js-preprocessor copied to clipboard

apply processPath function to file.path to

Open tetrox opened this issue 7 years ago • 2 comments

If karma works in watch mode, when the .html files are updated, the preprocessor creates the names of the '.js.js', '.js.js.js' etc. files. This change in order to be able to fix it with settings like html2JsPreprocessor: { processPath: function(filePath) { return filePath.replace(/.js$/, ''); } },

tetrox avatar Sep 24 '18 07:09 tetrox

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

:memo: Please visit https://cla.developers.google.com/ to sign.

Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.


What to do if you already signed the CLA

Individual signers
Corporate signers

googlebot avatar Sep 24 '18 07:09 googlebot

I signed it!

tetrox avatar Sep 24 '18 07:09 tetrox