Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sourceMappingURL=./dist/purify.min.js.map produces 404 #955

Closed
Bhoft opened this issue May 2, 2017 · 0 comments
Closed

sourceMappingURL=./dist/purify.min.js.map produces 404 #955

Bhoft opened this issue May 2, 2017 · 0 comments
Labels

Comments

@Bhoft
Copy link

Bhoft commented May 2, 2017

Small issue ;)

the line
2: //# sourceMappingURL=./dist/purify.min.js.map
in file \bootstrap-fileinput\js\plugins\purify.min.js produces and 404 error when YII_DEBUG = FALSE (so minified files are used).
When the option "show original sources" is enabled in the browser.

[172.16.0.20][2][gj41ssau409tan23952c1v9b07][error][yii\web\HttpException:404] exception 'yii\base\InvalidRouteException' with message 'Unable to resolve the request "assets/83524224/js/plugins/dist/purify.min.js.map".' in /vendor/yiisoft/yii2/base/Module.php:532
This line should be removed or corrected to load the correct source file.

More on this option:
https://www.html5rocks.com/en/tutorials/developertools/sourcemaps/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants