Skip to content

Commit

Permalink
remove amp-mode-transform
Browse files Browse the repository at this point in the history
  • Loading branch information
samouri committed Jul 8, 2021
1 parent 0bdfafc commit 853c8da
Show file tree
Hide file tree
Showing 13 changed files with 0 additions and 284 deletions.
6 changes: 0 additions & 6 deletions build-system/babel-config/minified-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,12 +67,6 @@ function getMinifiedConfig() {
argv.fortesting
? null
: './build-system/babel-plugins/babel-plugin-transform-json-configuration',
argv.fortesting
? null
: [
'./build-system/babel-plugins/babel-plugin-amp-mode-transformer',
{isEsmBuild: !!argv.esm},
],
].filter(Boolean);
const presetEnv = [
'@babel/preset-env',
Expand Down
9 changes: 0 additions & 9 deletions build-system/babel-config/pre-closure-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@ const {getReplacePlugin} = require('./helpers');
*/
function getPreClosureConfig() {
const isCheckTypes = argv._.includes('check-types');
const testTasks = ['e2e', 'integration', 'visual-diff'];
const isTestTask = testTasks.some((task) => argv._.includes(task));
const isFortesting = argv.fortesting || isTestTask;

const reactJsxPlugin = [
'@babel/plugin-transform-react-jsx',
Expand Down Expand Up @@ -76,12 +73,6 @@ function getPreClosureConfig() {
!isCheckTypes
? './build-system/babel-plugins/babel-plugin-transform-json-configuration'
: null,
!(isFortesting || isCheckTypes)
? [
'./build-system/babel-plugins/babel-plugin-amp-mode-transformer',
{isEsmBuild: !!argv.esm},
]
: null,
].filter(Boolean);
const presetEnv = [
'@babel/preset-env',
Expand Down

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

0 comments on commit 853c8da

Please sign in to comment.