Skip to content

Commit

Permalink
Mengubah ekstensi view menjadi jsx
Browse files Browse the repository at this point in the history
  • Loading branch information
itsfaqih committed Jun 18, 2020
1 parent d418fb8 commit 7c9a0a2
Show file tree
Hide file tree
Showing 31 changed files with 2 additions and 2 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions webpack.mix.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const tailwindcss = require('tailwindcss');
*/

mix
.react('resources/js/app.js', 'public/js')
.react('resources/js/app.jsx', 'public/js')
.postCss('resources/css/app.css', 'public/css/app.css')
.options({
postCss: [
Expand All @@ -29,7 +29,7 @@ mix
purgecss({
content: [
'./resources/views/**/*.blade.php',
'./resources/js/**/*.js'
'./resources/js/**/*.jsx'
],
defaultExtractor: content =>
content.match(/[\w-/:.]+(?<!:)/g) || [],
Expand Down

0 comments on commit 7c9a0a2

Please sign in to comment.