From 9a963e6bf0d8ef37442d1f711ada5938b2829585 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Tue, 2 May 2017 13:27:06 -0400 Subject: [PATCH] more export stuff --- js/mylib.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/js/mylib.js b/js/mylib.js index eb50a82..f70e233 100644 --- a/js/mylib.js +++ b/js/mylib.js @@ -1,9 +1,10 @@ const myFunc = function(){ console.log('included!'); } +const myFunc2 = function(){ + console.log('also included'); +} export default myFunc; -export const myFunc2 = function(){ - console.log('also included'); -} +export { myFunc2 }