We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e62e40 commit 2bb5a5cCopy full SHA for 2bb5a5c
modules/index.js
@@ -1,7 +1 @@
1
-/* eslint-env node */
2
-import Media from "./Media";
3
-
4
-// TODO: Remove in the next major release.
5
-Media.Media = Media;
6
7
-module.exports = Media;
+export default from "./Media";
scripts/config.js
@@ -4,7 +4,7 @@ const replace = require("rollup-plugin-replace");
const resolve = require("rollup-plugin-node-resolve");
const uglify = require("rollup-plugin-uglify");
-const getPlugins = env => {
+function getPlugins(env) {
8
const plugins = [resolve()];
9
10
if (env) {
@@ -36,7 +36,7 @@ const getPlugins = env => {
36
}
37
38
return plugins;
39
-};
+}
40
41
const config = {
42
input: "modules/index.js",
webpack.config.js
0 commit comments