aboutsummaryrefslogtreecommitdiffstats
path: root/build/tasks/dist.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/tasks/dist.js')
-rw-r--r--build/tasks/dist.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/build/tasks/dist.js b/build/tasks/dist.js
index f15689e3d..9441dca35 100644
--- a/build/tasks/dist.js
+++ b/build/tasks/dist.js
@@ -1,7 +1,5 @@
-"use strict";
-
// Process files for distribution.
-module.exports = function processForDist( text, filename ) {
+export default function processForDist( text, filename ) {
if ( !text ) {
throw new Error( "text required for processForDist" );
}
@@ -28,4 +26,4 @@ module.exports = function processForDist( text, filename ) {
}
throw new Error( message );
}
-};
+}