New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@atlassian/i18n-properties-loader

Package Overview
Dependencies
Maintainers
19
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlassian/i18n-properties-loader

A Webpack loader for i18n *.properties files that can be used in Atlassian Server products

  • 0.3.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
554
decreased by-11.5%
Maintainers
19
Weekly downloads
 
Created
Source

@atlassian/i18n-properties-loader

A Webpack loader for i18n *.properties files that can be used in Atlassian Server products

Install

npm install @atlassian/i18n-properties-loader --save-dev

Usage

// webpack.config.js

const i18nFiles = [
  'foo/i18n/my-translation-file.properties',
  'foo/bar/i18n/my-other-translation-file.properties',
  'bar/i18n/some-translation-file.properties',
];

module.exports = {
  module: {
    rules: [
      {
        test: /\.jsx?$/,
        include: ["src"],

        use: [
          {
            loader: '@atlassian/i18n-properties-loader',
            options: {
              i18nFiles
            },
          },

          {
            loader: 'babel-loader'
          }
        ]
      }
    ]
  }
}

Options

  • i18nFiles list of paths to your *.properties files (required)
  • disabled disables the loader; can we used to disabled in production bundle (optional, default false)

This package plays nice with the @atlassian/wrm-react-i18n when you want to bundle your code for production. You check the package description and learn how to integrate it with your webpack configuration.

Keywords

FAQs

Package last updated on 03 Apr 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc