Skip to content

Commit 6fc45ba

Browse files
wsymsrmariuzzo
authored andcommitted
Fixed paths to work for Mac and Windows
1 parent 5ccd144 commit 6fc45ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ module.exports = {
3030
rules: [
3131
{
3232
// Matches all PHP or JSON files in `resources/lang` directory.
33-
test: /resources\/lang.+\.(php|json)$/,
33+
test: /resources(\\|\/)lang.+\.(php|json)$/,
3434
loader: 'laravel-localization-loader',
3535
}
3636
]
@@ -47,7 +47,7 @@ mix.webpackConfig({
4747
rules: [
4848
{
4949
// Matches all PHP or JSON files in `resources/lang` directory.
50-
test: /resources\/lang.+\.(php|json)$/,
50+
test: /resources(\\|\/)lang.+\.(php|json)$/,
5151
loader: 'laravel-localization-loader',
5252
}
5353
]

0 commit comments

Comments
 (0)