import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";

export default {
  input: "src/index.js",
  output: {
    file: "dist/milsymbol.development.js",
    format: "umd"
  },
  name: "ms",
  plugins: [resolve(), commonjs()]
};

import resolve from "rollup-plugin-node-resolve";
import commonjs from "rollup-plugin-commonjs";

export default {
  input: "src/index.js",
  output: {
    file: "dist/milsymbol.development.js",
    format: "umd",
    amd: {
      id: "milsymbol"
    }
  },
  name: "ms",
  plugins: [resolve(), commonjs()]
};

Make sure the AMD module is named "milsymbol"
Make sure the AMD module is named "milsymbol"

For backward compability
