Unverified Commit 9576d541 authored by Joe Haddad's avatar Joe Haddad Committed by GitHub

Update Babel Cache Key (#12989)

parent de516957
...@@ -2,9 +2,9 @@ import babelLoader from 'next/dist/compiled/babel-loader' ...@@ -2,9 +2,9 @@ import babelLoader from 'next/dist/compiled/babel-loader'
import hash from 'next/dist/compiled/string-hash' import hash from 'next/dist/compiled/string-hash'
import { basename, join } from 'path' import { basename, join } from 'path'
// increment 'l' to invalidate cache // increment 'm' to invalidate cache
// eslint-disable-next-line no-useless-concat // eslint-disable-next-line no-useless-concat
const cacheKey = 'babel-cache-' + 'l' + '-' const cacheKey = 'babel-cache-' + 'm' + '-'
const nextBabelPreset = require('../../babel/preset') const nextBabelPreset = require('../../babel/preset')
const getModernOptions = (babelOptions = {}) => { const getModernOptions = (babelOptions = {}) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment