You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/index.ts
+11-9Lines changed: 11 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@ import { AxiosError } from 'axios';
4
4
importfs= require('fs');
5
5
const{default: axios}=require('axios');// Temporary replacement for `import * as axios from 'axios';` while https://github.com/axios/axios/issues/1975 isn't in a release
6
6
import{flareLog,uuidv4,removeQuery}from'./util';
7
+
importpath= require('path');
7
8
8
9
typePluginOptions={
9
10
key: string;
@@ -72,7 +73,7 @@ class FlareWebpackPluginSourcemap {
@@ -115,13 +116,11 @@ class FlareWebpackPluginSourcemap {
115
116
116
117
if(!sourcemaps.length){
117
118
returnreject(
118
-
`No sourcemap files were found. Make sure sourcemaps are being generated by adding this line to your webpack config: devtool: "hidden-source-map".
119
-
If you don't want to upload your sourcemaps to your server, you can add the "removeSourcemaps: true" config option to the Flare webpack plugin.
120
-
Laravel Mix' versioning is currently broken with "removeSourcemaps" enabled.`
119
+
`No sourcemap files were found. Make sure sourcemaps are being generated by adding this line to your webpack config: devtool: "hidden-source-map". If you don't want to upload your sourcemaps to your server, you can add the "removeSourcemaps: true" config option to the Flare webpack plugin. Laravel Mix' versioning is currently broken with "removeSourcemaps" enabled.`
0 commit comments