// Re-export babel plugin from build directory so you can require it like:
// require('linaria/babel')

// eslint-disable-next-line
module.exports = require('./build/babel').default;

/* eslint-disable global-require */

module.exports = function linariaBabelPreset(context, opts = {}) {
  return {
    plugins: [
      [require('./build/babel').default, opts],
      require('babel-plugin-preval'),
    ],
  };
};

Add babel preset (#54)